Added aldacron's ghost window fix, a ShowWindow(hwnd, SW_HIDE) before destroying the window
This commit is contained in:
parent
6917a1e1de
commit
883149878b
|
@ -199,6 +199,7 @@ static void closeWindow()
|
|||
|
||||
// Close the window
|
||||
if (hwnd != NULL) {
|
||||
ShowWindow(hwnd, SW_HIDE);
|
||||
printfDebug("Destroy window\n");
|
||||
// Vape the window
|
||||
DestroyWindow(hwnd);
|
||||
|
|
Loading…
Reference in New Issue