fix tests on v0.10.40

This commit is contained in:
José F. Romaniello 2015-08-31 11:14:48 -03:00
parent f72d58ab89
commit b7c88dde73
2 changed files with 6 additions and 2 deletions

View File

@ -73,6 +73,8 @@ exports.start = function (options, callback) {
exports.stop = function (callback) {
sio.close();
server.destroy();
try {
server.destroy();
} catch (er) {}
callback();
};

View File

@ -65,6 +65,8 @@ exports.start = function (callback) {
exports.stop = function (callback) {
sio.close();
server.destroy();
try {
server.destroy();
} catch (er) {}
callback();
};