FULLPIPE: Delete cursors in _cursorsArray in InputController destructor
This commit is contained in:
parent
2eadb3e924
commit
704b4838bd
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ InputController::~InputController() {
|
||||||
removeMessageHandler(126, -1);
|
removeMessageHandler(126, -1);
|
||||||
|
|
||||||
g_fp->_inputController = 0;
|
g_fp->_inputController = 0;
|
||||||
|
|
||||||
|
for (int i = 0; i < _cursorsArray.size(); i++)
|
||||||
|
delete _cursorsArray[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputController::setInputDisabled(bool state) {
|
void InputController::setInputDisabled(bool state) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue