Changeset 5796 for code/branches/core5/src/libraries/core/input
- Timestamp:
- Sep 26, 2009, 10:15:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/input/InputManager.cc
r5747 r5796 289 289 290 290 // Destroy calibrator helper handler and state 291 delete keyDetector_;291 keyDetector_->destroy(); 292 292 this->destroyState("calibrator"); 293 293 // Destroy KeyDetector and state 294 delete calibratorCallbackHandler_;294 calibratorCallbackHandler_->destroy(); 295 295 this->destroyState("detector"); 296 296 // destroy the empty InputState … … 722 722 } 723 723 statesByName_.erase(state->getName()); 724 delete state;724 state->destroy(); 725 725 } 726 726 }
Note: See TracChangeset
for help on using the changeset viewer.