From 742d1609bb1ed14aa84c0bfd5c9a43bb6ef393c7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 30 Apr 2009 13:23:18 +0000 Subject: Cancel timers before setting them svn path=/rpkid/rpki/async.py; revision=2382 --- rpkid/rpki/async.py | 1 + 1 file changed, 1 insertion(+) (limited to 'rpkid/rpki/async.py') diff --git a/rpkid/rpki/async.py b/rpkid/rpki/async.py index 68d90aa8..9bd467fd 100644 --- a/rpkid/rpki/async.py +++ b/rpkid/rpki/async.py @@ -81,6 +81,7 @@ class timer(object): else: self.when = when assert isinstance(self.when, rpki.sundial.datetime) + self.cancel() self.queue.append(self) self.queue.sort() -- cgit v1.2.3