don’t shutdown filestore on uncaught exception

This commit is contained in:
Henry Oswald 2016-12-19 14:47:54 +00:00
parent bf93fc3f50
commit 9e8c27f46b

View file

@ -39,7 +39,6 @@ app.use (req, res, next) ->
requestDomain.add res
requestDomain.on "error", (err)->
try
appIsOk = false
# request a shutdown to prevent memory leaks
beginShutdown()
if !res.headerSent