karma-runner/karma — pull request #1121 by bcharbonnier (2014-07-01 13:24:47+00:00)
Title: fix(server): Force socket.io clients disconnection on Windows

It occurs that only on Windows, socket.io clients are not properly disconnected, which causes Karma to not exit immediately when everything is done. We have to wait for some internal disconnection socket.io event timeout.

This PR basically check if all sockets are disconnected. If not we manually force the disconnection.

Fixes #1109