jmesnil/stomp-websocket — pull request #28 by wemrysi (2013-01-15 20:43:44+00:00)
Title: Ensure _cleanUp is called when socket closed unexpectedly

_cleanUp wasn't being called in the socket's onclose handler, which meant the heartbeat intervals weren't stopped properly when the socket closed unexpectedly.