Should send "closed" event when native window is closed.
This commit is contained in:
parent
8417f158b4
commit
1cb23a958c
5 changed files with 8 additions and 6 deletions
|
@ -65,6 +65,7 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
|
|||
}
|
||||
|
||||
- (void)windowWillClose:(NSNotification*)notification {
|
||||
shell_->NotifyWindowClosed();
|
||||
[self autorelease];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue