Fixed user might not disconnect from server properly, handle more uncaught exceptions
This commit is contained in:
@@ -51,7 +51,7 @@ EditorSocketIOServer.prototype.addClient = function (socket) {
|
||||
try {
|
||||
self.onOperation(socket, revision, operation, selection);
|
||||
} catch (err) {
|
||||
socket.disconnect();
|
||||
socket.disconnect(true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user