Skip to content

Commit c295614

Browse files
committed
Set MenuHandler to null in Dispose (just for good measure)
1 parent 5e76f84 commit c295614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CefSharp.WinForms/ChromiumWebBrowser.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public ChromiumWebBrowser(string address)
6262

6363
protected override void Dispose(bool disposing)
6464
{
65+
FocusHandler = null;
66+
6567
Cef.RemoveDisposable(this);
6668

6769
if (disposing)

0 commit comments

Comments
 (0)