From 46f77eb7d57ef14f496889724dd88d4eeca40dbd Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 28 Mar 2026 09:59:29 +0800 Subject: [PATCH] Remove old add_event_handler --- gns3server/api/server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gns3server/api/server.py b/gns3server/api/server.py index bebddfdc9..87a7b24f0 100644 --- a/gns3server/api/server.py +++ b/gns3server/api/server.py @@ -71,8 +71,6 @@ def get_application() -> FastAPI: allow_headers=["*"], ) - #application.add_event_handler("startup", tasks.create_startup_handler(application)) - #application.add_event_handler("shutdown", tasks.create_shutdown_handler(application)) application.include_router(index.router, tags=["Index"]) application.include_router(controller.router, prefix="/v3") application.mount("/static", StaticFiles(packages=[('gns3server', 'static')]), name="static")