AudioServer: Set singleton to NULL when destructed
This commit is contained in:
parent
5f15f03d38
commit
231fa92201
|
@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
|
||||||
AudioServer::~AudioServer() {
|
AudioServer::~AudioServer() {
|
||||||
|
|
||||||
memdelete(audio_data_lock);
|
memdelete(audio_data_lock);
|
||||||
|
singleton = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue