Web socket subscriptions don't close properly
-
I was playing around with the websocket subscriptions for room data.
These have a limit on the number of active subscriptions you can make per user.
I created a couple of thousand subscriptions before realizing the restriction. I've tried every method I can think of to unsubscribe, but failed.
The unfortunate part is that this restriction is also interfering with the screeps client and therefore I cannot play at the moment. I get the "too many tabs open" almost continuously. I see 1 out of every 5 ticks.
I assume this will correct itself when the server restarts. However, the subscriptions of a connection should be cleaned up when a connection is closed.
I'll have a look to see if I can make a pull request, but thought I'd bring this up for discussion before hand.
Regards,
Atavus