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

@ -33,11 +33,6 @@ BOOL CALLBACK WindowsEnumerationHandler(HWND hwnd, LPARAM param) {
} // namespace
void Browser::Terminate() {
is_quiting_ = true;
PostQuitMessage(0);
}
void Browser::Focus() {
// On Windows we just focus on the first window found for this process.
DWORD pid = GetCurrentProcessId();