Changeset 10544 for code/branches/core7/src/libraries/core
- Timestamp:
- Jun 7, 2015, 3:24:55 PM (10 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/Core.cc
r10543 r10544 255 255 if (this->staticInitHandler_) 256 256 StaticInitializationManager::getInstance().removeHandler(this->staticInitHandler_); 257 delete Context::getRootContext(); 258 Context::setRootContext(NULL); 257 Context::destroyRootContext(); 259 258 safeObjectDelete(&rootModule_); 260 259 safeObjectDelete(&staticInitHandler_); -
code/branches/core7/src/libraries/core/object/Context.cc
r10543 r10544 79 79 } 80 80 81 /*static*/ void Context::destroyRootContext() 82 { 83 delete Context::rootContext_s; 84 Context::rootContext_s = NULL; 85 } 86 81 87 /*static*/ Context* Context::getRootContext() 82 88 { -
code/branches/core7/src/libraries/core/object/Context.h
r10539 r10544 47 47 public: 48 48 static void setRootContext(Context* context); 49 static void destroyRootContext(); 49 50 static Context* getRootContext(); 50 51
Note: See TracChangeset
for help on using the changeset viewer.