AudioServer: Set singleton to NULL when destructed
This commit is contained in:
parent
5f15f03d38
commit
231fa92201
1 changed files with 1 additions and 0 deletions
|
@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
|
|||
AudioServer::~AudioServer() {
|
||||
|
||||
memdelete(audio_data_lock);
|
||||
singleton = NULL;
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue