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
1 changed files with 1 additions and 0 deletions

View File

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