Skip to content

Commit 28ef642

Browse files
committed
Remove extra loop.run_until_complete from do_activate
The loop is already running at this point. This apparently didn't exploded with gbulb, but glib's asyncio loop raises an exception in this case. QubesOS/qubes-issues#9807
1 parent e4d9863 commit 28ef642

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

qubes_menu/appmenu.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,6 @@ def do_activate(self, *args, **kwargs):
311311
self.tasks = [
312312
asyncio.ensure_future(self.dispatcher.listen_for_events()),
313313
]
314-
315-
loop.run_until_complete(asyncio.wait(
316-
self.tasks, return_when=asyncio.FIRST_EXCEPTION))
317314
else:
318315
if self.main_notebook:
319316
self.main_notebook.set_current_page(

0 commit comments

Comments
 (0)