mac: Close the devtools window before releasing it
Sometime simply releasing it may leave it open for a while.
This commit is contained in:
parent
92244500c6
commit
b75dc9b08d
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ using namespace brightray;
|
|||
[devtools_window_ makeKeyAndOrderFront:nil];
|
||||
} else {
|
||||
[[self window] makeKeyAndOrderFront:nil];
|
||||
[devtools_window_ close];
|
||||
devtools_window_.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue