Skip to content
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

Closed
wants to merge 1 commit into from
Closed

fix use-after-free of Task with futures2 #254

wants to merge 1 commit into from

Conversation

seanmonstar
Copy link
Member

No description provided.

@carllerche
Copy link
Member

cc @aturon

@@ -1090,7 +1092,6 @@ impl Inner {
trace!("worker_terminated; num_workers={}", prev - 1);

if 1 == prev {
trace!("notifying shutdown task");
Copy link
Member Author

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.

@kpp
Copy link
Contributor

kpp commented Mar 31, 2018

@seanmonstar do you want me to rebase your PR onto new master?

@seanmonstar
Copy link
Member Author

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.

@aturon
Copy link
Contributor

aturon commented Apr 4, 2018

@seanmonstar Sorry for the very delayed review! This PR LGTM.

kpp added a commit to kpp/tokio that referenced this pull request Apr 11, 2018
@carllerche
Copy link
Member

Closing due to inactivity and stagnation.

@carllerche carllerche closed this May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants