summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-04-27 21:36:35 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-04-27 21:36:35 +0200
commit231fa9220147521c88fb57f21a90825abe74a95a (patch)
tree591f4412cbc7e7a6b6a7479977248b596b703756 /servers
parent5f15f03d38ed712d33f41ceb5bc812acf818a184 (diff)
AudioServer: Set singleton to NULL when destructed
Diffstat (limited to 'servers')
-rw-r--r--servers/audio_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp
index f3bba4ae90..095e66ed37 100644
--- a/servers/audio_server.cpp
+++ b/servers/audio_server.cpp
@@ -1012,6 +1012,7 @@ AudioServer::AudioServer() {
AudioServer::~AudioServer() {
memdelete(audio_data_lock);
+ singleton = NULL;
}
/////////////////////////////////