1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Author: Vincent Prat <vivi@debian.org>
Description: Fix alc_cleanup error that may cause SIGSEGV on exit
Forwarded: not-needed
--- a/Source/GameInitDispose.cpp
+++ b/Source/GameInitDispose.cpp
@@ -88,16 +88,11 @@
OPENAL_StopSound(OPENAL_ALL);
-// this is causing problems on Linux, but we'll force an _exit() a little
-// later in the shutdown process. --ryan.
-#if !PLATFORM_LINUX
-
for (int i = 0; i < sounds_count; ++i) {
OPENAL_Sample_Free(samp[i]);
}
OPENAL_Close();
-#endif
}
void Game::newGame()
|