diff options
Diffstat (limited to 'common/main.cpp')
-rw-r--r-- | common/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/main.cpp b/common/main.cpp index 658895c27d..761644fc15 100644 --- a/common/main.cpp +++ b/common/main.cpp @@ -229,6 +229,9 @@ int main(int argc, char *argv[]) { // Run the game engine engine->go(); + // Stop all sound processing now (this prevents some race conditions later on) + system->clear_sound_proc(); + // Free up memory delete engine; delete g_gui; |