-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not abort all threads when interrupted by Ctrl-C #1393
Comments
please provide reproducing code in javascript. |
it('loops', function() {
while(true) { }
})
|
I was able to reproduce the bug. |
resolves #1393: kill children with more effort on SIGINT
I have the exact same bug. Mocha 2.0.1, OSX 10.10.1, using CoffeScript |
@hpurmann, the fix didn't make it to the 2.0.1 bump. Could you please try to replicate the bug using |
Just tried with |
Good to know that it works now! |
When one test hangs and I try to abort it with Ctrl-C, then at least some thread(s) are still running.
Sometimes I get a
FATAL ERROR: JS Allocation failed - process out of memory
error, but only quite some time after the next shell prompt is shown.I also had some test cases which did not produce this error message and simply kept running at 100% CPU until I killed them explicitly.
Reproduced with:
Environment:
The text was updated successfully, but these errors were encountered: