mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04: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]
|
const sock = note.socks[i]
|
||||||
if (typeof sock !== 'undefined' && sock) {
|
if (typeof sock !== 'undefined' && sock) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
sock.disconnect(true)
|
sock.disconnect()
|
||||||
}, 0)
|
}, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -952,4 +952,4 @@ function connection (socket) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = realtime
|
export { realtime }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue