thoov/ember-websockets — pull request #8 by thoov (2014-12-16 01:42:10+00:00)
Title: [Enhancement] Adding close action & improving route deactivation logic

Adding a new action called "closeSocket" which will close the connection.

Improving the logic when a route deactivates. Before the app would destroy the connection before the onclose method would fire. Now when a route deactivates the onclose action will fire properly. If you would still like your connection to stay open you can still set the `keepSocketAlive` true on the route.