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 leak in DispatchQueue::Abort #954

Merged
merged 3 commits into from
May 21, 2016
Merged

Fix leak in DispatchQueue::Abort #954

merged 3 commits into from
May 21, 2016

Conversation

codemercenary
Copy link
Contributor

This is not a true leak, but rather technical leak that exists because things are not destroyed at the expected time. Delayed dispatchers attached to a DispatchQueue are not deleted when the Abort call completes. They are eventually destroyed in ~DispatchQueue, but they should be instead destroyed as soon as it is possible to know that's needed.

This is not a true leak, but rather technical leak that exists because things are not destroyed at the expected time.  Delayed dispatchers attached to a `DispatchQueue` are not deleted when the `Abort` call completes.  They are eventually destroyed in `~DispatchQueue`, but they should be instead destroyed as soon as it is possible to know that's needed.
@codemercenary codemercenary added this to the v1.0.2 milestone May 21, 2016
@wmisha wmisha merged commit 287dea7 into master May 21, 2016
@wmisha wmisha deleted the fix-abort branch May 21, 2016 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants