Skip to content
Permalink
Browse files

feat(server): wait for clean-up to finish

  • Loading branch information...
mycoboco committed Jul 17, 2019
1 parent 2369def commit 5559638dd64922a0bad2ae03cf50fe82c16934f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/server.js
@@ -58,7 +58,7 @@ function exit() {
else if (typeof service.stop === 'function') service.stop()
}
db && typeof db.close === 'function' && db.close()
process.exit(0)
setTimeout(function () { process.exit(0) }, 1*1000)
}


0 comments on commit 5559638

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