mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
add after_shutdown hook
This commit is contained in:
@@ -522,6 +522,7 @@ class Account(object):
|
||||
deltachat.clear_context_callback(self._dc_context)
|
||||
del self._dc_context
|
||||
atexit.unregister(self.shutdown)
|
||||
self._pm.hook.after_shutdown()
|
||||
|
||||
def set_location(self, latitude=0.0, longitude=0.0, accuracy=0.0):
|
||||
"""set a new location. It effects all chats where we currently
|
||||
|
||||
Reference in New Issue
Block a user