Skip to content
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

[regression] CTRL+C no longer terminates tasks #720

Closed
MartinNowak opened this issue Jul 15, 2014 · 1 comment
Closed

[regression] CTRL+C no longer terminates tasks #720

MartinNowak opened this issue Jul 15, 2014 · 1 comment

Comments

@MartinNowak
Copy link
Contributor

The process keeps running when it's send SIGINT or SIGTERM.
This was introduced between 0.7.17 and 0.7.18.

import vibe.d;

shared static this()
{
    runTask({while (true) yield();});
}
@MartinNowak
Copy link
Contributor Author

Seems to be related to the busy yield loop. I'd expect yield to query the st_term flag.

EricMCornelius pushed a commit to EricMCornelius/vibe.d that referenced this issue Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant