Unittest hangs on completion
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Dec 30 14:42:07 PST 2016
On 12/30/16 4:31 PM, David Zhang wrote:
> @Steven, the process hangs after the "All unit tests have been
> successfully", after which the process is supposed to exit immediately.
What is actually happening is that the D main function returns. Then the
D runtime tears down everything, including joining all threads, running
all module static dtors, terminating the GC, etc.
Then it returns to the OS the exit code.
So it's likely somewhere in there that it's hanging.
-Steve
More information about the Digitalmars-d-learn
mailing list