diff options
author | Carl Lerche <me@carllerche.com> | 2019-12-22 13:03:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 13:03:44 -0800 |
commit | adc5186ebd1290c2f144e153a87e147d257f8b0f (patch) | |
tree | 507624871353d166db8e822208d06e873ea8611f /tokio/src/sync/mutex.rs | |
parent | 7b53b7b659fe1feeb30e768cad8fdadf9531beb6 (diff) |
rt: fix storing Runtime in thread-local (#2011)
Storing a `Runtime` value in a thread-local resulted in a panic due to
the inability to access the parker.
This fixes the bug by skipping parking if it fails. In general, there
isn't much that we can do besides not parking.
Fixes #593
Diffstat (limited to 'tokio/src/sync/mutex.rs')
0 files changed, 0 insertions, 0 deletions