This commit is contained in:
jxxghp
2023-06-21 12:23:58 +08:00
parent 9f89d92cff
commit d8378e50a5

View File

@ -46,16 +46,16 @@ def shutdown_server():
""" """
服务关闭 服务关闭
""" """
# 停止定时服务
Scheduler().stop()
# 停止插件
PluginManager().stop()
# 停止模块 # 停止模块
ModuleManager().stop() ModuleManager().stop()
# 停止插件
PluginManager().stop()
# 停止事件消费 # 停止事件消费
Command().stop() Command().stop()
# 停止虚拟显示 # 停止虚拟显示
DisplayHelper().stop() DisplayHelper().stop()
# 停止定时服务
Scheduler().stop()
@App.on_event("startup") @App.on_event("startup")