mirror of https://github.com/axmolengine/axmol.git
issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
This commit is contained in:
parent
4b3b69bb6b
commit
b05796e1a5
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue