Blink::stop() access violation

Blink::stop() is calles twice when inside a Repeat action. This results in an access violation
This commit is contained in:
Namezero 2015-06-03 12:39:16 +02:00
parent 883f250f6a
commit 89915a084c
1 changed files with 2 additions and 1 deletions

View File

@ -1814,6 +1814,7 @@ bool Blink::initWithDuration(float duration, int blinks)
void Blink::stop() void Blink::stop()
{ {
if(NULL != _target)
_target->setVisible(_originalState); _target->setVisible(_originalState);
ActionInterval::stop(); ActionInterval::stop();
} }