Merge pull request #3708 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
This commit is contained in:
James Chen 2013-09-18 22:55:41 -07:00
commit 302bdbbe8f
1 changed files with 1 additions and 0 deletions

View File

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