mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
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) {
|
||||
sio.close();
|
||||
server.destroy();
|
||||
try {
|
||||
server.destroy();
|
||||
} catch (er) {}
|
||||
callback();
|
||||
};
|
@ -65,6 +65,8 @@ exports.start = function (callback) {
|
||||
|
||||
exports.stop = function (callback) {
|
||||
sio.close();
|
||||
server.destroy();
|
||||
try {
|
||||
server.destroy();
|
||||
} catch (er) {}
|
||||
callback();
|
||||
};
|
Loading…
Reference in New Issue
Block a user