Permalink
Browse files

Build fix

  • Loading branch information...
1 parent 5e56b1e commit 8d821ac0e398ac3dc132d5d1ec0afa05c40659dc @alexp-sssup alexp-sssup committed May 5, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 scripting/flashutils.cpp
View
5 scripting/flashutils.cpp
@@ -408,9 +408,8 @@ void Timer::tick()
else
{
running=false;
- TimerEvent* e=Class<TimerEvent>::getInstanceS("timerComplete");
- sys->currentVm->addEvent(this,e);
- e->decRef();
+ this->incRef();
+ sys->currentVm->addEvent(_MR(this),_MR(Class<TimerEvent>::getInstanceS("timerComplete")));
}
}
}

0 comments on commit 8d821ac

Please sign in to comment.