Merge pull request #415 from jaredevantabor/socket-fix

deleting socket on logout
This commit is contained in:
Jared Tabor
2017-09-14 15:51:15 -07:00
committed by GitHub

View File

@@ -119,6 +119,8 @@ export default
disconnect: function(){
if(this.socket){
this.socket.close();
delete this.socket;
console.log("Socket deleted: "+this.socket);
}
},
subscribe: function(state){