Changeset 3366 for code/branches/resource/src/core/TclBind.cc
- Timestamp:
- Jul 29, 2009, 10:27:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/core/TclBind.cc
r3360 r3366 46 46 SetConsoleCommandShortcut(TclBind, bgerror); 47 47 48 TclBind* TclBind::singleton Ref_s = 0;48 TclBind* TclBind::singletonPtr_s = 0; 49 49 50 50 TclBind::TclBind(const std::string& datapath) 51 51 { 52 assert(singletonRef_s == 0);53 singletonRef_s = this;54 52 this->interpreter_ = 0; 55 53 this->bSetTclDataPath_ = false; … … 61 59 if (this->interpreter_) 62 60 delete this->interpreter_; 63 singletonRef_s = 0;64 61 } 65 62
Note: See TracChangeset
for help on using the changeset viewer.