better cron stopping, thanks Álvaro José Iradier

This commit is contained in:
mdipierro
2013-03-10 10:21:47 -05:00
parent 25ab6f9a07
commit 8addc54015
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -434,6 +434,10 @@ class web2pyDialog(object):
self.try_stop_scheduler(t)
except:
pass
try:
newcron.stopcron()
except:
pass
try:
self.server.stop()
except: