mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 08:45:19 +08: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