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:
parent
5e48d84208
commit
a51884a6f4
2 changed files with 6 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue