[Orxonox-commit 1185] r5906 - code/branches/core5/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Thu Oct 8 17:29:27 CEST 2009


Author: rgrieder
Date: 2009-10-08 17:29:27 +0200 (Thu, 08 Oct 2009)
New Revision: 5906

Modified:
   code/branches/core5/src/libraries/core/ScopedSingletonManager.h
Log:
Removed an assert because the SignalHandler seems to have the affect that static variables get destroyed after all.

Modified: code/branches/core5/src/libraries/core/ScopedSingletonManager.h
===================================================================
--- code/branches/core5/src/libraries/core/ScopedSingletonManager.h	2009-10-08 09:49:01 UTC (rev 5905)
+++ code/branches/core5/src/libraries/core/ScopedSingletonManager.h	2009-10-08 15:29:27 UTC (rev 5906)
@@ -85,7 +85,7 @@
 
         ~ClassScopedSingletonManager()
         {
-            assert(singletonPtr_ == NULL);
+            //assert(singletonPtr_ == NULL); // Might get triggered in the SignalHandler
             ScopedSingletonManager::removeManager(this);
         }
 




More information about the Orxonox-commit mailing list