Skip to content
Permalink
Browse files

fix unix socket not removed on shutdown (#50)

* fix unix socket not removed on shutdown

Signed-off-by: naimo <nicolas@aimon.fr>
  • Loading branch information...
naimo authored and SISheogorath committed Apr 16, 2019
1 parent d359d4a commit cc53d5ebfa0e1b3149c44cd3507e3f57d1a06e06
Showing with 3 additions and 0 deletions.
  1. +3 −0 app.js
3 app.js
@@ -289,6 +289,9 @@ function handleTermSignals () {
socket.disconnect(true)
}, 0)
})
if (config.path) {
fs.unlink(config.path)
}
var checkCleanTimer = setInterval(function () {
if (realtime.isReady()) {
models.Revision.checkAllNotesRevision(function (err, notes) {

0 comments on commit cc53d5e

Please sign in to comment.
You can’t perform that action at this time.