def timerActions( id ): global myMessenger, msgTryTimer if msgTryTimer == id and myMessenger.checkin(): PyREEM.removeTimer( msgTryTimer ) msgTryTimer = -1 else: timermanager.onTimerCall( id )
def stoptimers(self): for tid in self.timercontext: PyREEM.removeTimer(tid) timermanager.delTimer(tid) self.timercontext = {}
def stoptimers( self ): for tid in self.timercontext: PyREEM.removeTimer( tid ) timermanager.delTimer( tid ) self.timercontext = {}