update
This commit is contained in:
parent
dba3bb9811
commit
4cc57d85eb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue