Skip to content

Commit 188a3c0

Browse files
committed
Use ShowWindowAsync during DLL detach instead of ShowWindow
1 parent fc6cd1a commit 188a3c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SpecialK.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ SK_Detach (DLL_ROLE role)
17251725
// Hide game while exiting to make it appear snappier.
17261726
if (game_window.hWnd != 0)
17271727
{
1728-
ShowWindow (game_window.hWnd, SW_HIDE);
1728+
SK_ShowWindowAsync (game_window.hWnd, SW_HIDE);
17291729
}
17301730

17311731
ULONG local_refs =

0 commit comments

Comments
 (0)