-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix use-after-free of Task with futures2 #254
Conversation
cc @aturon |
@@ -1090,7 +1092,6 @@ impl Inner { | |||
trace!("worker_terminated; num_workers={}", prev - 1); | |||
|
|||
if 1 == prev { | |||
trace!("notifying shutdown task"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Er, woops, did you want to keep this? I was just cleaning up a bunch of logs I had used to debug this, and thought this was one I had added.
@seanmonstar do you want me to rebase your PR onto new master? |
You can if you want! This has actually been waiting for @aturon to tell us if this breaks some other invariant I didn't consider. |
@seanmonstar Sorry for the very delayed review! This PR LGTM. |
Code stolen from tokio-rs#254
Closing due to inactivity and stagnation. |
No description provided.