You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setTimout in socket.io prevents Karma from exiting on Windows #1109
Yesterday my colleague have discovered that this could be worked-around by explicitly disconnecting each socket on Karma exit (basically adding sockets[key].disconnect() here: https://github.com/karma-runner/karma/blob/v0.12.16/lib/server.js#L201). I'm not familiar with the socket.io internals well enough so I'm not sure if this is the right thing to do, but I'm kind of loosing hope of having any fixes done in the socket.io version that Karma is using atm.
Would be grateful for any input here, especially from the ones knowing karma + socket.io interactions a bit better.
changed the title [-]setTimout in socket.io prevents Karma from existing on Windows[/-][+]setTimout in socket.io prevents Karma from exiting on Windows[/+]on Jul 1, 2014
Activity
[-]setTimout in socket.io prevents Karma from existing on Windows[/-][+]setTimout in socket.io prevents Karma from exiting on Windows[/+]fix(server): Force clients disconnect on Windows
fix(server): Force clients disconnect on Windows