Am 29.10.2018 um 20:07 schrieb Kai:

On Mon, 29 Oct 2018 09:37:48 GMT, Sönke Ludwig wrote:

Windows detaches the terminal from the process when pressing Ctrl+C once (press twice to kill the process). It seems like the Ctrl+C handler in vibe-core did not manage to properly shut down the process. That could actually be fixed by vibe-core 1.4.4 if any worker threads/tasks are used by the server. If not, does that also happen with the examples/http-server project in vibe-d for you? I'd try to reproduce that locally then.

Yes, it happens there as well.

I opened a PR to fix this, which will be in the next vibe-core version:
https://github.com/vibe-d/vibe-core/pull/99

When running the example now, it exits properly, except for a warning
that socket descriptors have been leaked. This is because the example
does not call stopListening on the HTTPListener returned by
listenHTTP, and the warning messages have just been introduced. I'll
post a fix for that, too.