Skip to content

Conversation

@chojs23
Copy link

@chojs23 chojs23 commented Dec 1, 2025

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behavior

Can only leave single room with Socket.leave() method

New behavior

Server-side sockets can now leave several rooms in a single socket.leave([...]) call. The in-memory adapter (and tests) were updated so Adapter.del() accepts a Set, keeping server state consistent without per-room calls.

Other information (e.g. related issues)

#5391

@chojs23 chojs23 force-pushed the feat/leave-multiple-rooms-at-once branch from fc979d3 to 61ee20b Compare December 1, 2025 08:08
@chojs23 chojs23 changed the title feat: leave multiple rooms at once feat(socket.io): leave multiple rooms at once Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant