mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
Unhook event handlers
This commit is contained in:
@@ -334,6 +334,14 @@ namespace CefSharp.Wpf
|
||||
|
||||
protected virtual void Dispose(bool isdisposing)
|
||||
{
|
||||
Loaded -= OnLoaded;
|
||||
Unloaded -= OnUnloaded;
|
||||
|
||||
GotKeyboardFocus -= OnGotKeyboardFocus;
|
||||
LostKeyboardFocus -= OnLostKeyboardFocus;
|
||||
|
||||
IsVisibleChanged -= OnIsVisibleChanged;
|
||||
|
||||
Cef.RemoveDisposable(this);
|
||||
|
||||
foreach (var disposable in disposables)
|
||||
|
||||
Reference in New Issue
Block a user