mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
fix(pancl): Ensure that we create a event loop at the start
This commit is contained in:
parent
86060a2f75
commit
82fcbf8e85
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user