diff --git a/tokio-executor/src/thread_pool/tests/loom_pool.rs b/tokio-executor/src/thread_pool/tests/loom_pool.rs index 6256048b2..9d3cd64fc 100644 --- a/tokio-executor/src/thread_pool/tests/loom_pool.rs +++ b/tokio-executor/src/thread_pool/tests/loom_pool.rs @@ -86,6 +86,10 @@ fn pool_shutdown() { gated2(true).await; }); + pool.spawn(async move { + gated2(false).await; + }); + drop(pool); }); }