♻️ Refactoring code

This commit is contained in:
Liyas Thomas
2019-11-25 05:44:44 +05:30
parent 0383403cce
commit a17239ca31
6 changed files with 15 additions and 15 deletions

View File

@@ -295,7 +295,7 @@ export default {
}
},
disconnect() {
if (this.socket !== null) this.socket.close();
this.socket.close();
},
handleError(error) {
this.disconnect();