diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-08 03:42:14 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-08 03:42:14 -0500 |
commit | 7378b5d063d9da34d485c8384efa71ba83272a61 (patch) | |
tree | 6f97360904f21951171983c6a0aa797b02b551ce /src/client/DocServer.ts | |
parent | da50d941f597fb3ec52bc3653d94f8c30affe552 (diff) |
session cleanup
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r-- | src/client/DocServer.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts index 47c63bfb7..ed7fbd7ba 100644 --- a/src/client/DocServer.ts +++ b/src/client/DocServer.ts @@ -82,7 +82,9 @@ export namespace DocServer { Utils.AddServerHandler(_socket, MessageStore.UpdateField, respondToUpdate); Utils.AddServerHandler(_socket, MessageStore.DeleteField, respondToDelete); Utils.AddServerHandler(_socket, MessageStore.DeleteFields, respondToDelete); - Utils.AddServerHandler(_socket, MessageStore.ConnectionTerminated, () => alert("Your connection to the server has been terminated.")); + Utils.AddServerHandler(_socket, MessageStore.ConnectionTerminated, () => { + alert("Your connection to the server has been terminated."); + }); } function errorFunc(): never { |