Skip to content

REST bridge keeps sending client variables after disconnect, causing room recreate/remove loop #293

@0suu

Description

@0suu

Summary

When client variables are set via the FastAPI REST bridge, the server continues to send the same variables after the client disconnects. This repeatedly recreates and removes the empty room, and logs keep printing.

Steps to Reproduce

  1. Start NetSync server.
  2. Connect a client to default_room.
  3. Call the REST endpoint to set client variables for that device ID.
  4. Disconnect the client.
  5. Observe logs continuing to show “Created new room” / “Removed empty room” and repeated “Client Variable Changed”.

Expected

After the client disconnects, rooms should not be repeatedly created/removed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions