Fix issue which causes ChainPadServ to abort

pull/1/head
Caleb James DeLisle 10 years ago
parent 3014b85a62
commit 1cd7c4c063

@ -186,7 +186,7 @@ var create = module.exports.create = function (socketServer, store) {
handleMessage(ctx, socket, message);
} catch (e) {
console.log(e.stack);
socket.close();
try { socket.close(); } catch (e) { }
}
});
socket.on('close', function (evt) {

Loading…
Cancel
Save