The thread for openal never terminates on my system, and that makes it so the game never exits when you go to quit on the menu. The game is only terminated with ctrl-c signal. Linux FC10 AMD64
ok, I got it figured. The audio context is not set before it's closed, making the openal thread hang in space forever once alcDestroyContext is called. The code that fixes this problem is as follows:
trunk/source/shared_lib/sources/sound/openal/sound_player_openal.cpp: line 289
it should really say:
alcMakeContextCurrent(context); //change to the lost context
alcDestroyContext(context); //close the context, ending the audio thread.
This will fix the problem, I tested it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok, I got it figured. The audio context is not set before it's closed, making the openal thread hang in space forever once alcDestroyContext is called. The code that fixes this problem is as follows:
trunk/source/shared_lib/sources/sound/openal/sound_player_openal.cpp: line 289
it should really say:
alcMakeContextCurrent(context); //change to the lost context
alcDestroyContext(context); //close the context, ending the audio thread.
This will fix the problem, I tested it.