mirror of
https://github.com/electron/electron.git
synced 2026-01-25 15:28:11 -05:00
win: Remove focus listener after window is closed, fixes #364.
This commit is contained in:
@@ -250,6 +250,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,
|
||||
}
|
||||
|
||||
NativeWindowWin::~NativeWindowWin() {
|
||||
views::WidgetFocusManager::GetInstance()->RemoveFocusChangeListener(this);
|
||||
}
|
||||
|
||||
void NativeWindowWin::Close() {
|
||||
|
||||
Reference in New Issue
Block a user