mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-06-04 17:26:46 +00:00
UT: Fix server stopping.
This commit is contained in:
committed by
Stefan Thomas
parent
457296a231
commit
b438bba775
@@ -129,14 +129,14 @@ var build_teardown = function (host) {
|
||||
.connect(false);
|
||||
},
|
||||
function stopServerStep(callback) {
|
||||
|
||||
if (opts.no_server)
|
||||
{
|
||||
return callback();
|
||||
}
|
||||
|
||||
return callback();
|
||||
}
|
||||
|
||||
data.server.on('stopped', callback).stop();
|
||||
data.server
|
||||
.on('stopped', callback)
|
||||
.stop();
|
||||
}
|
||||
], done);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user