Open cosven opened 5 years ago
Python 3.7 add create_task function, it use _get_running_loop function to get event loop. However, we never the our QEventLoop as the running loop.
create_task
_get_running_loop
In asyncio event loops, they set running loop in run_forever.
run_forever
Similar issue in asyncqt: https://github.com/gmarull/asyncqt/issues/3
Python 3.7 add
create_task
function, it use_get_running_loop
function to get event loop. However, we never the our QEventLoop as the running loop.In asyncio event loops, they set running loop in
run_forever
.Similar issue in asyncqt: https://github.com/gmarull/asyncqt/issues/3