Merge pull request #2718 from SaracenOne/audio_system_crash_fix
Fixed Audio System Crash
This commit is contained in:
commit
067c96d26f
|
@ -195,9 +195,10 @@ void OSBB10::finalize() {
|
||||||
// memdelete(debugger_connection_console);
|
// memdelete(debugger_connection_console);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
visual_server->finish();
|
visual_server->finish();
|
||||||
memdelete(visual_server);
|
memdelete(visual_server);
|
||||||
|
|
|
@ -137,9 +137,10 @@ void OS_Haiku::finalize() {
|
||||||
spatial_sound_2d_server->finish();
|
spatial_sound_2d_server->finish();
|
||||||
memdelete(spatial_sound_2d_server);
|
memdelete(spatial_sound_2d_server);
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
visual_server->finish();
|
visual_server->finish();
|
||||||
memdelete(visual_server);
|
memdelete(visual_server);
|
||||||
|
|
|
@ -107,9 +107,10 @@ void OS_Server::finalize() {
|
||||||
// memdelete(debugger_connection_console);
|
// memdelete(debugger_connection_console);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
visual_server->finish();
|
visual_server->finish();
|
||||||
memdelete(visual_server);
|
memdelete(visual_server);
|
||||||
|
|
|
@ -1375,9 +1375,10 @@ void OS_Windows::finalize() {
|
||||||
// memdelete(debugger_connection_console);
|
// memdelete(debugger_connection_console);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
physics_server->finish();
|
physics_server->finish();
|
||||||
memdelete(physics_server);
|
memdelete(physics_server);
|
||||||
|
|
|
@ -326,10 +326,11 @@ void OSWinrt::finalize() {
|
||||||
//if (debugger_connection_console) {
|
//if (debugger_connection_console) {
|
||||||
// memdelete(debugger_connection_console);
|
// memdelete(debugger_connection_console);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
memdelete(input);
|
memdelete(input);
|
||||||
|
|
||||||
|
|
|
@ -452,9 +452,10 @@ void OS_X11::finalize() {
|
||||||
// memdelete(debugger_connection_console);
|
// memdelete(debugger_connection_console);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
memdelete(sample_manager);
|
||||||
|
|
||||||
audio_server->finish();
|
audio_server->finish();
|
||||||
memdelete(audio_server);
|
memdelete(audio_server);
|
||||||
memdelete(sample_manager);
|
|
||||||
|
|
||||||
visual_server->finish();
|
visual_server->finish();
|
||||||
memdelete(visual_server);
|
memdelete(visual_server);
|
||||||
|
|
Loading…
Reference in New Issue