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

Remove strongly held target from kvo targets hash #400

Merged
merged 1 commit into from
Jul 23, 2014

Conversation

jsteinberg
Copy link
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. I think 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)

@clayallsopp
Copy link
Contributor

Ah very nice work, and appreciate the specs too! Thanks!

And a heads up, please try to keep the whitespace diffs out for future PRs :)

clayallsopp added a commit that referenced this pull request Jul 23, 2014
Remove strongly held target from kvo targets hash
@clayallsopp clayallsopp merged commit c60f9ee into rubymotion-community:master Jul 23, 2014
@markrickert
Copy link
Collaborator

re: whitespace diffs... but look at how many bytes he removed! :)

I'm a big fan of auto whitespace truncation in your text editor, so my PRs might have things like this too without even realizing it.

@jsteinberg
Copy link
Contributor Author

Yeah, sorry about the whitespace. I noticed it after I submitted the PR and didn't think it warranted canceling and then opening a new one.

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.

3 participants