1
0
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:
Ignacio Etcheverry
2017-04-27 21:36:35 +02:00
parent 5f15f03d38
commit 231fa92201

View File

@@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
AudioServer::~AudioServer() {
memdelete(audio_data_lock);
singleton = NULL;
}
/////////////////////////////////