Shutdown gracefully, fixes #227.
This commit is contained in:
parent
538bd1116d
commit
f0d9ee4ca9
5 changed files with 14 additions and 23 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue