TaskPool.cleanup

void cleanup() nothrow

Wait for all tasks to be stopped. This is mainly used internally to ensure proper cleanup of internal data structures in test suites.

MT safe.