summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mutex.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-12-17 21:24:26 -0800
committerGitHub <noreply@github.com>2019-12-17 21:24:26 -0800
commit83cd754bc80dc8718b65fd32f54e53b4d7ba8332 (patch)
treee36b9b429a1f552510f85e983cbede3b70fcf5ed /tokio/src/sync/mutex.rs
parent17e424112d53385142aa430641910c384c4cbe5a (diff)
rt: fix blocking pool shutdown logic (#1978)
The blocking task queue was not explicitly drained as part of the blocking pool shutdown logic. It was originally assumed that the contents of the queue would be dropped when the blocking pool structure is dropped. However, tasks must be explicitly shutdown, so we must drain the queue can call `shutdown` on each task. Fixes #1970, #1946
Diffstat (limited to 'tokio/src/sync/mutex.rs')
0 files changed, 0 insertions, 0 deletions