Latest commit d16f988 Jan 20, 2016 @OleksandrChekhovskyi OleksandrChekhovskyi Close all WebSocket connections when leaving the page
Leaving them open prevents garbage collection and can crash if
server sends a message after the window has been destroyed.

This is important for web applications that are permanently connected
to the server, for example those using Meteor framework.