private void Close() { if (webView.IsInvoking(nameof(DisableDoubleClick))) { webView.CancelInvoke(nameof(DisableDoubleClick)); } webView.CleanCache(); webView = null; }