Shutdown gracefully, fixes #227.

This commit is contained in:
Cheng Zhao 2014-04-10 15:22:17 +08:00
parent 538bd1116d
commit f0d9ee4ca9
5 changed files with 14 additions and 23 deletions

View file

@ -10,11 +10,6 @@
namespace atom {
void Browser::Terminate() {
is_quiting_ = true;
[[AtomApplication sharedApplication] terminate:nil];
}
void Browser::Focus() {
[[AtomApplication sharedApplication] activateIgnoringOtherApps:YES];
}