mirror of
https://github.com/godotengine/godot.git
synced 2025-02-10 04:40:40 +00:00
Merge pull request #8562 from neikeq/ame-ame-ame
AudioServer: Set singleton to NULL when destructed
This commit is contained in:
commit
65c5dde560
@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
|
||||
AudioServer::~AudioServer() {
|
||||
|
||||
memdelete(audio_data_lock);
|
||||
singleton = NULL;
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user