Closed jsteinberg closed 10 years ago
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 :)
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.
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.
This issue seems to also be resolved in this PR(https://github.com/rubymotion/BubbleWrap/pull/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)