aboutsummaryrefslogtreecommitdiff
path: root/rpki/rpkid_tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/rpkid_tasks.py')
-rw-r--r--rpki/rpkid_tasks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpki/rpkid_tasks.py b/rpki/rpkid_tasks.py
index 8f652fa6..959d4223 100644
--- a/rpki/rpkid_tasks.py
+++ b/rpki/rpkid_tasks.py
@@ -115,6 +115,7 @@ class AbstractTask(object):
self.completions.append(completion)
def exit(self):
+ self.self.gctx.sql.sweep()
while self.completions:
self.completions.pop(0)(self)
self.clear()
@@ -122,6 +123,7 @@ class AbstractTask(object):
self.self.gctx.task_next()
def postpone(self, continuation):
+ self.self.gctx.sql.sweep()
self.continuation = continuation
self.due_date = None
self.self.gctx.task_add(self)