- commit
- b3026cf6a017e1c2772105abdefd6ab3b674a94b
- parent
- 5555cd65c4892ba6039805564398094cdcae0e89
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-08-09 16:33
ensure unown
Diffstat
| M | notification_hub.py | 9 | +++++---- |
1 files changed, 5 insertions, 4 deletions
diff --git a/notification_hub.py b/notification_hub.py
@@ -91,7 +91,8 @@ if __name__ == '__main__': 91 91 on_name_lost, 92 92 ) 93 9394 -1 loop = GLib.MainLoop()95 -1 loop.run()96 -197 -1 Gio.bus_unown_name(owner_id)-1 94 try: -1 95 loop = GLib.MainLoop() -1 96 loop.run() -1 97 finally: -1 98 Gio.bus_unown_name(owner_id)