What is the best way to stop App after exception?
Messenger via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Feb 15 07:39:27 PST 2016
On Monday, 15 February 2016 at 15:17:01 UTC, tcak wrote:
> [...]
> BUT (This is a big but with single t), in multithreaded
> process, throwing Error in a thread that is not the main thread
> won't stop your process still and you are still left with
> "exit" function.
Mind, if you're doing the normal message passing thread dance,
you can do periodic checks for an OwnerTerminated message.
http://melpon.org/wandbox/permlink/jxAzU0fcsnouMa9z
More information about the Digitalmars-d-learn
mailing list