fix unix socket not removed on shutdown (#50)
* fix unix socket not removed on shutdown Signed-off-by: naimo <nicolas@aimon.fr>
This commit is contained in:
parent
d359d4aa84
commit
cc53d5ebfa
1 changed files with 3 additions and 0 deletions
3
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) {
|
||||
|
|
Loading…
Reference in a new issue