fix tests on v0.10.40
This commit is contained in:
parent
f72d58ab89
commit
b7c88dde73
@ -73,6 +73,8 @@ exports.start = function (options, callback) {
|
|||||||
|
|
||||||
exports.stop = function (callback) {
|
exports.stop = function (callback) {
|
||||||
sio.close();
|
sio.close();
|
||||||
server.destroy();
|
try {
|
||||||
|
server.destroy();
|
||||||
|
} catch (er) {}
|
||||||
callback();
|
callback();
|
||||||
};
|
};
|
@ -65,6 +65,8 @@ exports.start = function (callback) {
|
|||||||
|
|
||||||
exports.stop = function (callback) {
|
exports.stop = function (callback) {
|
||||||
sio.close();
|
sio.close();
|
||||||
server.destroy();
|
try {
|
||||||
|
server.destroy();
|
||||||
|
} catch (er) {}
|
||||||
callback();
|
callback();
|
||||||
};
|
};
|
Reference in New Issue
Block a user