Beispiel #1
0
	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")
Beispiel #2
0
 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")
Beispiel #3
0
 def cancelCallLater(self, callID):
     """ cancel a delayed call
         @param callID: the call to cancel (id returned in callLater)
     """
     return reactor.cancelCallLater(callID)
Beispiel #4
0
 def abort(result):
     reactor.cancelCallLater(self.timer)
Beispiel #5
0
 def cancelCallLater(self, callID):
     """ cancel a delayed call
         @param callID: the call to cancel (id returned in callLater)
     """
     return reactor.cancelCallLater(callID)
Beispiel #6
0
 def abort(result):
     reactor.cancelCallLater(self.timer)
Beispiel #7
0
Datei: dj.py Projekt: tv42/mc-foo
 def pause(self):
     if self.timer:
         reactor.cancelCallLater(self.timer)
         self.timer=None
Beispiel #8
0
 def pause(self):
     if self.timer:
         reactor.cancelCallLater(self.timer)
         self.timer = None