the PooledTaskRunner will fail to shutdown if a task throws an exception, because the state-tracking variables are never reset.
patch and unit test attached.
Description
the PooledTaskRunner will fail to shutdown if a task throws an exception, because the state-tracking variables are never reset.
patch and unit test attached.