mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-08-06 13:34:32 -04:00
fix(pancl): Ensure that we create a event loop at the start
This commit is contained in:
parent
86060a2f75
commit
82fcbf8e85
1 changed files with 1 additions and 1 deletions
|
@ -697,7 +697,7 @@ class PanCtl:
|
||||||
)
|
)
|
||||||
@click.version_option(version="0.10.3", prog_name="panctl")
|
@click.version_option(version="0.10.3", prog_name="panctl")
|
||||||
def main():
|
def main():
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.new_event_loop()
|
||||||
glib_loop = GLib.MainLoop()
|
glib_loop = GLib.MainLoop()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue