def __del__(self): if self.cleaner: reactor.cancelCallLater(self.cleaner) self.cleaner = None while self.db: db = self.db.pop(0)[0] db.close("Nonref Parent")
def cancelCallLater(self, callID): """ cancel a delayed call @param callID: the call to cancel (id returned in callLater) """ return reactor.cancelCallLater(callID)
def abort(result): reactor.cancelCallLater(self.timer)
def pause(self): if self.timer: reactor.cancelCallLater(self.timer) self.timer=None
def pause(self): if self.timer: reactor.cancelCallLater(self.timer) self.timer = None