issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.

This commit is contained in:
James Chen 2013-09-19 13:55:49 +08:00
parent 4b3b69bb6b
commit b05796e1a5
1 changed files with 1 additions and 0 deletions

View File

@ -526,6 +526,7 @@ _pos = _max; \
void SpriteAccelerationEventTest::onExit() void SpriteAccelerationEventTest::onExit()
{ {
Device::setAccelerometerEnabled(false); Device::setAccelerometerEnabled(false);
EventDispatcherTestDemo::onExit();
} }
std::string SpriteAccelerationEventTest::title() std::string SpriteAccelerationEventTest::title()