mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Fixed a deadlock when exiting Age of Wonders in fullscreen mode
Note that exiting with Alt+F4 still won't work. See issue #167.
This commit is contained in:
parent
2b8805d9ef
commit
88708ce398
@ -138,7 +138,7 @@ namespace Gdi
|
||||
|
||||
void destroyWindow(HWND hwnd)
|
||||
{
|
||||
execute([&]() { DestroyWindow(hwnd); });
|
||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
||||
}
|
||||
|
||||
void executeFunc(const std::function<void()>& func)
|
||||
|
Loading…
x
Reference in New Issue
Block a user