diff options
author | Stjepan Glavina <stjepang@gmail.com> | 2018-09-21 19:20:41 +0200 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2018-09-21 10:20:41 -0700 |
commit | 20ca59114a0493df699a74b3d472e7afe1bdf921 (patch) | |
tree | 629205025146b0c2e3476ebb741231a442c3dc13 /ci | |
parent | 3dd95a9ff14109f2b27d181960f478ad67c0c1ae (diff) |
threadpool: impl Drop for Queue (#649)
We need to drain the queue when dropping, or else those `Arc<Task>`s
will be leaked.
Fixes #542
Diffstat (limited to 'ci')
-rw-r--r-- | ci/tsan | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,4 +29,5 @@ race:crossbeam_deque*steal # original pop operation will fail due to the ABA guard, but tsan still picks # up the access on the next pointer. race:Backup::next_sleeper +race:Backup::set_next_sleeper race:WorkerEntry::set_next_sleeper |