mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix plugin initializer
This commit is contained in:
@@ -5,7 +5,7 @@ from fastapi import FastAPI
|
||||
|
||||
from app.startup.workflow_initializer import init_workflow, stop_workflow
|
||||
from app.startup.modules_initializer import shutdown_modules, start_modules
|
||||
from app.startup.plugins_initializer import init_plugins_async
|
||||
from app.startup.plugins_initializer import init_plugins_async, stop_plugins
|
||||
from app.startup.routers_initializer import init_routers
|
||||
|
||||
|
||||
@@ -40,4 +40,5 @@ async def lifespan(app: FastAPI):
|
||||
shutdown_modules(app)
|
||||
# 关闭工作流
|
||||
stop_workflow(app)
|
||||
|
||||
# 关闭插件
|
||||
stop_plugins()
|
||||
|
||||
Reference in New Issue
Block a user