diff options
author | naimo | 2019-04-16 18:19:11 +0200 |
---|---|---|
committer | Christoph (Sheogorath) Kern | 2019-04-16 18:19:11 +0200 |
commit | cc53d5ebfa0e1b3149c44cd3507e3f57d1a06e06 (patch) | |
tree | c951aaa24db5cd61f899c61b532269e9fa4a95ba | |
parent | d359d4aa847c8c1a86eb344f424efa377f7b8aaa (diff) |
fix unix socket not removed on shutdown (#50)
* fix unix socket not removed on shutdown
Signed-off-by: naimo <nicolas@aimon.fr>
Diffstat (limited to '')
-rw-r--r-- | app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |