fix(pancl): Ensure that we create a event loop at the start

This commit is contained in:
Damir Jelić 2022-02-03 11:45:07 +01:00
parent 86060a2f75
commit 82fcbf8e85

View File

@ -697,7 +697,7 @@ class PanCtl:
)
@click.version_option(version="0.10.3", prog_name="panctl")
def main():
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
glib_loop = GLib.MainLoop()
try: