Skip to content

Commit

Permalink
Proper dispose of CollabClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Aufreiter committed Apr 17, 2016
1 parent 562023e commit 5ebd6f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions collab/CollabClient.js
Expand Up @@ -72,6 +72,10 @@ CollabClient.Prototype = function() {
this.isConnected = function() {
return this.connection.isOpen();
};

this.dispose = function() {
this.connection.off(this);
};
};

EventEmitter.extend(CollabClient);
Expand Down

0 comments on commit 5ebd6f7

Please sign in to comment.