mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
worked on realtime.ts
- added named export - sock.disconnect() has no argument Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
9afc2e19a4
commit
46774282cc
1 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ setInterval(function () {
|
|||
const sock = note.socks[i]
|
||||
if (typeof sock !== 'undefined' && sock) {
|
||||
setTimeout(function () {
|
||||
sock.disconnect(true)
|
||||
sock.disconnect()
|
||||
}, 0)
|
||||
}
|
||||
}
|
||||
|
@ -952,4 +952,4 @@ function connection (socket) {
|
|||
})
|
||||
}
|
||||
|
||||
module.exports = realtime
|
||||
export { realtime }
|
||||
|
|
Loading…
Reference in a new issue