You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
AudioServer: Set singleton to NULL when destructed
This commit is contained in:
@@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
|
|||||||
AudioServer::~AudioServer() {
|
AudioServer::~AudioServer() {
|
||||||
|
|
||||||
memdelete(audio_data_lock);
|
memdelete(audio_data_lock);
|
||||||
|
singleton = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user