♻️ Refactoring code
This commit is contained in:
@@ -295,7 +295,7 @@ export default {
|
||||
}
|
||||
},
|
||||
disconnect() {
|
||||
if (this.socket !== null) this.socket.close();
|
||||
this.socket.close();
|
||||
},
|
||||
handleError(error) {
|
||||
this.disconnect();
|
||||
|
||||
Reference in New Issue
Block a user