mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-25 13:20:23 +03:00
Fix tests
This commit is contained in:
parent
bfed330ec2
commit
013ec341b3
@ -87,7 +87,6 @@ def create_shutdown_handler(app: FastAPI) -> Callable:
|
|||||||
|
|
||||||
async def shutdown_handler() -> None:
|
async def shutdown_handler() -> None:
|
||||||
|
|
||||||
global auto_discover_images_task_handle
|
|
||||||
if auto_discover_images_task_handle is not None and not auto_discover_images_task_handle.cancelled():
|
if auto_discover_images_task_handle is not None and not auto_discover_images_task_handle.cancelled():
|
||||||
auto_discover_images_task_handle.cancel()
|
auto_discover_images_task_handle.cancel()
|
||||||
await HTTPClient.close_session()
|
await HTTPClient.close_session()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user