win: Remove focus listener after window is closed, fixes #364.
This commit is contained in:
parent
98aba2aa12
commit
04cbb76776
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,
|
||||||
}
|
}
|
||||||
|
|
||||||
NativeWindowWin::~NativeWindowWin() {
|
NativeWindowWin::~NativeWindowWin() {
|
||||||
|
views::WidgetFocusManager::GetInstance()->RemoveFocusChangeListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindowWin::Close() {
|
void NativeWindowWin::Close() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue