mirror of
https://github.com/godotengine/godot.git
synced 2024-11-13 23:52:41 +00:00
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(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
|
@ -137,9 +137,10 @@ void OS_Haiku::finalize() {
|
||||
spatial_sound_2d_server->finish();
|
||||
memdelete(spatial_sound_2d_server);
|
||||
|
||||
memdelete(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
|
@ -107,9 +107,10 @@ void OS_Server::finalize() {
|
||||
// memdelete(debugger_connection_console);
|
||||
//}
|
||||
|
||||
memdelete(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
|
@ -1375,9 +1375,10 @@ void OS_Windows::finalize() {
|
||||
// memdelete(debugger_connection_console);
|
||||
//}
|
||||
|
||||
memdelete(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
physics_server->finish();
|
||||
memdelete(physics_server);
|
||||
|
@ -326,10 +326,11 @@ void OSWinrt::finalize() {
|
||||
//if (debugger_connection_console) {
|
||||
// memdelete(debugger_connection_console);
|
||||
//}
|
||||
|
||||
memdelete(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
memdelete(input);
|
||||
|
||||
|
@ -452,9 +452,10 @@ void OS_X11::finalize() {
|
||||
// memdelete(debugger_connection_console);
|
||||
//}
|
||||
|
||||
memdelete(sample_manager);
|
||||
|
||||
audio_server->finish();
|
||||
memdelete(audio_server);
|
||||
memdelete(sample_manager);
|
||||
|
||||
visual_server->finish();
|
||||
memdelete(visual_server);
|
||||
|
Loading…
Reference in New Issue
Block a user