Skip to content

Commit

Permalink
Terminate process after closing window.
Browse files Browse the repository at this point in the history
  • Loading branch information
brotalnia committed Jul 14, 2019
1 parent 8608ff8 commit b65f324
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ int APIENTRY WinMainCRTStartup (void)
{
int iRet;
iRet = WinMain(GetModuleHandle(NULL), NULL, NULL, GetWindowShowState());
ExitProcess(iRet);
return iRet;
}

Expand Down

0 comments on commit b65f324

Please sign in to comment.