mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
check correct running flag in scheduler stop
This commit is contained in:
@@ -607,7 +607,7 @@ class Account(object):
|
||||
self.log("stop_ongoing")
|
||||
self.stop_ongoing()
|
||||
|
||||
if self.is_started():
|
||||
if bool(lib.dc_is_running(self._dc_context)):
|
||||
self.log("context_shutdown (stop core scheduler)")
|
||||
lib.dc_context_shutdown(self._dc_context)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user