1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

Don't freak out on double stop.

This commit is contained in:
Simo Kinnunen 2014-05-01 17:23:21 +09:00
parent 5e48d84208
commit a51884a6f4
2 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,9 @@ module.exports = function(options) {
lifecycle.observe(function() {
log.info('Waiting for client connections to end')
return server.closeAsync()
.catch(function(err) {
// Okay
})
})
app.set('view engine', 'jade')