signalRJS
signalRJS copied to clipboard
Disconnect connection from client
Hi, when connection type is longPolling and client stops connection it crashe
signalrjs/lib/signalRJS.js:94
var transport = self._transports[connection.type];
TypeError: Cannot read property 'type' of undefined
it fixes problem for me (SignalRJS.prototype.poll):
var connection = self._connectionManager.getByToken(token);
if (!connection) {
return;
}