Skip to content

Commit

Permalink
main.cpp: One-liner to fix the crash-on-exit on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy committed May 3, 2024
1 parent 834c56c commit e1adf9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ void VSExit(int code) {
Music::CleanupMuzak();
VegaStrikeLogging::VegaStrikeLogger::instance().FlushLogsProgramExiting();
STATIC_VARS_DESTROYED = true;
AUDDestroy();
winsys_exit(code);
}

Expand Down

0 comments on commit e1adf9c

Please sign in to comment.