You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that ContinueAfter makes us stop the test early, while some PoolItems are still alive. During cleanup we drop the Generator for each thread, which tries to safely clean up by unwinding their stacks, including dropping the PoolItem. But PoolItem's drop tries to acquire a lock, which is no longer allowed once ContinueAfter has triggered.
I'm not totally sure what to do here:
We could just leak the continuation's stack...
We could do something smarter during teardown, allowing threads to continue running until termination or deadlock, under the assumption that the only code that can run once we drop the continuations is cleanup code
The text was updated successfully, but these errors were encountered:
This test panics in the
Drop
impl ofPoolItem
:The problem is that
ContinueAfter
makes us stop the test early, while somePoolItem
s are still alive. During cleanup we drop theGenerator
for each thread, which tries to safely clean up by unwinding their stacks, including dropping thePoolItem
. ButPoolItem
's drop tries to acquire a lock, which is no longer allowed onceContinueAfter
has triggered.I'm not totally sure what to do here:
The text was updated successfully, but these errors were encountered: