From fbd53619cb01e4f7320a230aa7c1c0e8e9f6cc00 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 9 Sep 2013 13:27:59 -0500 Subject: [PATCH] clean up monitor on exit --- scheduler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scheduler.py b/scheduler.py index 8afe4b8..050e45f 100644 --- a/scheduler.py +++ b/scheduler.py @@ -69,6 +69,9 @@ class BackupScheduler: xbmc.sleep(500) + #delete monitor to free up memory + del self.monitor + def findNextRun(self,now): #find the cron expression and get the next run time cron_exp = self.parseSchedule()