wip: more thread safety
[physics.git] / src / debug.cpp
index 909a54f..e838c8e 100644 (file)
@@ -47,6 +47,7 @@ void debug::init()
 void debug::clean()
 {
     SDL_DestroyMutex( muDPF );
+    muDPF = NULL;
 }
 
 /// ***** Private Methods *****