This commit is contained in:
xyj 2024-01-11 14:30:34 +08:00
parent dba3bb9811
commit 4cc57d85eb
1 changed files with 1 additions and 2 deletions

View File

@ -197,7 +197,6 @@ async def on_disconnect(the_user_scene, user_app_scene, user_web_scene, user_scr
if user_app_scene.active is False and user_web_scene.active is False and user_screen_scene.active is False:
print("关闭场景" + the_user_scene.name)
await function_B(message)
print("socket已关闭")
@app.websocket("/")
@ -253,4 +252,4 @@ if __name__ == '__main__':
user_msg = {}
user_scene = []
scene_manager = SceneManager()
uvicorn.run(app)
uvicorn.run(app, host="0.0.0.0", port=8765)