mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 08:04:45 -04:00
Fixed user might not disconnect from server properly, handle more uncaught exceptions
This commit is contained in:
parent
43a175e710
commit
f1a0dff9e6
2 changed files with 16 additions and 6 deletions
|
@ -51,7 +51,7 @@ EditorSocketIOServer.prototype.addClient = function (socket) {
|
|||
try {
|
||||
self.onOperation(socket, revision, operation, selection);
|
||||
} catch (err) {
|
||||
socket.disconnect();
|
||||
socket.disconnect(true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue