Shutdown gracefully, fixes #227.
This commit is contained in:
parent
538bd1116d
commit
f0d9ee4ca9
5 changed files with 14 additions and 23 deletions
|
@ -10,11 +10,6 @@
|
|||
|
||||
namespace atom {
|
||||
|
||||
void Browser::Terminate() {
|
||||
is_quiting_ = true;
|
||||
[[AtomApplication sharedApplication] terminate:nil];
|
||||
}
|
||||
|
||||
void Browser::Focus() {
|
||||
[[AtomApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue