diff --git a/js/models/network/Async.js b/js/models/network/Async.js index 675c39966..172133fae 100644 --- a/js/models/network/Async.js +++ b/js/models/network/Async.js @@ -35,6 +35,7 @@ Network.prototype.cleanUp = function() { this.criticalErr = ''; this.removeAllListeners(); if (this.socket) { + this.socket.removeAllListeners(); this.socket.disconnect(); this.socket = null; }