Ref T7110. Listeners are now removed when clients close the connection to avoid stacking a never ending number of unused listeners.
- Group Reviewers
- Maniphest Tasks
- T7110: Listeners are not removed when clients close the WebSocket connection
- Restricted Diffusion Commit
rP4af1fd2a79bb: Aphlict - remove listeners when clients close the connection
Using wscat to connect to the Aphlict server; when closing the connection a 'Diconnected.' will appear in the logs and the number of active listeners is decreased by one.