prevent (or rather: make much less likely) some sound output related race conditions
svn-id: r8740
This commit is contained in:
parent
85c467c6a0
commit
0ed8e1ef36
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue