- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineWindow.cpp
r5079a0 r0fb9f6 73 73 CommandLineWindow::~CommandLineWindow() 74 74 { 75 // go through all possible actions76 for(std::map<const std::string,Action*>::iterator ActionRunner = ActionRegistry::getInstance().getBeginIter(); ActionRegistry::getInstance().getBeginIter() != ActionRegistry::getInstance().getEndIter(); ActionRunner = ActionRegistry::getInstance().getBeginIter()) {77 ActionRegistry::getInstance().unregisterAction(ActionRunner->second);78 delete(ActionRunner->second);79 }75 // // go through all possible actions 76 // for(std::map<const std::string,Action*>::iterator ActionRunner = ActionRegistry::getInstance().getBeginIter(); ActionRegistry::getInstance().getBeginIter() != ActionRegistry::getInstance().getEndIter(); ActionRunner = ActionRegistry::getInstance().getBeginIter()) { 77 // ActionRegistry::getInstance().unregisterAction(ActionRunner->second); 78 // delete(ActionRunner->second); 79 // } 80 80 81 81 delete statusIndicator;
Note:
See TracChangeset
for help on using the changeset viewer.