Skip to content

Commit

Permalink
Clean shutdown ensures INI files are always written at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaldaien committed Aug 31, 2016
1 parent c9663a8 commit 7a3bc2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UnX/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ DetourWindowProc ( _In_ HWND hWnd,
// Don't trigger the code below that handles window deactivation
// in fullscreen mode
unx::window.active = last_active;

ExitProcess (0);
}

//
Expand Down

0 comments on commit 7a3bc2e

Please sign in to comment.