mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2026-01-01 00:00:36 -05:00
ui: Don't run the glib loop if it was shut down already.
This commit is contained in:
parent
ed942187d4
commit
ea042fa92f
1 changed files with 3 additions and 0 deletions
|
|
@ -646,6 +646,9 @@ if UI_ENABLED:
|
|||
self.notifications = False
|
||||
|
||||
GLib.timeout_add(100, self.message_callback)
|
||||
if not self.loop:
|
||||
return
|
||||
|
||||
self.loop.run()
|
||||
|
||||
def stop(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue