From b05796e1a569a15f7716e55e950c389c25774252 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 19 Sep 2013 13:55:49 +0800 Subject: [PATCH] issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash. --- .../Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp index 5097429e3a..cae809ff16 100644 --- a/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp +++ b/samples/Cpp/TestCpp/Classes/NewEventDispatcherTest/NewEventDispatcherTest.cpp @@ -526,6 +526,7 @@ _pos = _max; \ void SpriteAccelerationEventTest::onExit() { Device::setAccelerometerEnabled(false); + EventDispatcherTestDemo::onExit(); } std::string SpriteAccelerationEventTest::title()