Speidy674 / Light-Reflective-Mirror

A relay transport for mirror.
MIT License
38 stars 9 forks source link

Proccess Data Bug #5

Closed Biebras closed 1 year ago

Biebras commented 1 year ago

The current function produces an error if the function tries to process data with a room that does not exist. This can happen for a few seconds when the host disconnects and a client sends a message to the room that does not exist.

These lines throw an error:

Room room = _cachedClientRooms[clientId];
if (room != null)
...
Biebras commented 1 year ago

Closing pull request as it adds all changes in my repo