diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-10-27 21:09:13 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-10-27 21:09:50 +0200 |
commit | e19d48332a7bc8963bc0a58d746a75dc15eeb58c (patch) | |
tree | 4e73c9b5be03e54f469e22c181076695f8a9f3d7 /plugingui/eventhandler.cc | |
parent | 47c5f5ff8be18d339767c78a1dd77d9a8d766193 (diff) |
Test to see if this is related to windows crash.
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r-- | plugingui/eventhandler.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc index 5fa50e1..62ffb2b 100644 --- a/plugingui/eventhandler.cc +++ b/plugingui/eventhandler.cc @@ -87,12 +87,12 @@ void EventHandler::processEvents() } if(peekEvent->type() != EventType::resize) { - delete peekEvent; + //delete peekEvent; break; } - delete peekEvent; + //delete peekEvent; - delete event; + //delete event; event = getNextEvent(); } @@ -121,12 +121,12 @@ void EventHandler::processEvents() } if(peekEvent->type() != EventType::mouseMove) { - delete peekEvent; + //delete peekEvent; break; } - delete peekEvent; + //delete peekEvent; - delete event; + //delete event; event = getNextEvent(); } @@ -236,15 +236,15 @@ void EventHandler::processEvents() } if(peekEvent->type() != EventType::scroll) { - delete peekEvent; + //delete peekEvent; break; } - delete peekEvent; + //delete peekEvent; auto scrollEvent = static_cast<ScrollEvent*>(event); delta += scrollEvent->delta; - delete event; + //delete event; event = getNextEvent(); } |