On Saturday, 23 May 2020 at 15:47:59 UTC, Russel Winder wrote:
Hi,
I thought I would try and do the async version of my mock
AVR850 using the vibe.d TCP stuff. This is not HTTP, it is
proper networking! ;-)
Problem one is that vibe.d sever processes never seem to
terminate.
I am using runApplication or more likely runEventLoop in my
main but it never returns. Starting the server from the command
line, I Ctrl+C the process and get the message:
[main(----) INF] Received signal 2. Shutting down.
but whilst I get a command line prompt, the process is not
terminated.
This is a bit of a blocker so help very much required.
Had similar experiences on non-windows platforms.
I think the solution is just to kill the pid.