mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-06 10:05:30 -05:00
ui: Don't run the glib loop if it was shut down already.
This commit is contained in:
parent
ed942187d4
commit
ea042fa92f
@ -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…
x
Reference in New Issue
Block a user