Tomm0017 / rsmod

New repository: https://github.com/rsmod/rsmod
https://github.com/rsmod/rsmod
Apache License 2.0
123 stars 100 forks source link

Netty Flush condition #142

Closed Tomm0017 closed 5 years ago

Tomm0017 commented 5 years ago

Current Behavior

GameSystem.flush does not check if channel is active. This means that if a player is in a state in which they cannot log out, but X-log anyway and a message is sent after they've done this, then the flush may run into issues.

Expected Behavior

Should check if the channel is active before flushing.