mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Don't freak out on double stop.
This commit is contained in:
@@ -19,6 +19,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')
|
||||
|
||||
Reference in New Issue
Block a user