Skip to content

Remove strongly held target from kvo targets hash#397

Closed
jsteinberg wants to merge 4 commits into
rubymotion-community:masterfrom
quietfoundation:master
Closed

Remove strongly held target from kvo targets hash#397
jsteinberg wants to merge 4 commits into
rubymotion-community:masterfrom
quietfoundation:master

Conversation

@jsteinberg
Copy link
Copy Markdown
Contributor

This issue seems to also be resolved in this PR(#361), but has not been merged in yet. This PR resolves only the issue I ran into. Keeping a strong reference in @targets is okay, as long as it is removed when no longer needed. The way it currently is, the target object will only be released when the observing object is also released(releasing @targets)

@jsteinberg
Copy link
Copy Markdown
Contributor Author

Didn't realize doing a PR off of master would add my new commits. I will re-add off of a branch with isolated commit.

@jsteinberg jsteinberg closed this Jul 21, 2014
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.

1 participant