[Orxonox-commit 737] r3267 - branches/netp6/src/core

rgrieder at orxonox.net rgrieder at orxonox.net
Wed Jul 1 13:32:25 CEST 2009


Author: rgrieder
Date: 2009-07-01 13:32:25 +0200 (Wed, 01 Jul 2009)
New Revision: 3267

Modified:
   branches/netp6/src/core/TclThreadManager.cc
Log:
Didn't finish my little Pimple idiom ^^

Modified: branches/netp6/src/core/TclThreadManager.cc
===================================================================
--- branches/netp6/src/core/TclThreadManager.cc	2009-07-01 11:28:52 UTC (rev 3266)
+++ branches/netp6/src/core/TclThreadManager.cc	2009-07-01 11:32:25 UTC (rev 3267)
@@ -89,6 +89,7 @@
     TclThreadManager* TclThreadManager::singletonRef_s = 0;
 
     TclThreadManager::TclThreadManager(Tcl::interpreter* interpreter)
+        : orxonoxInterpreterBundle_(new TclInterpreterBundle())
     {
         RegisterRootObject(TclThreadManager);
 
@@ -113,6 +114,8 @@
         }
         this->destroy(threadID);
 
+        delete this->orxonoxInterpreterBundle_;
+
         singletonRef_s = 0;
     }
 




More information about the Orxonox-commit mailing list