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

Resolving RKObjectRequestOperation not releasing. #2400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markst
Copy link

@markst markst commented Mar 10, 2016

Dereferences strong reference to http operation.
Fixes #2399
Reverting changes previously lost at #c6b5d159c20f81de1df1a699fd6cb850b99cd3d9

Dereferences strong reference to http operation.
Fixes RestKit#2399
Reverting changes previously lost at #c6b5d159c20f81de1df1a699fd6cb850b99cd3d9
@markst
Copy link
Author

markst commented Mar 10, 2016

#2361

@markst
Copy link
Author

markst commented Mar 10, 2016

Not sure whether should be merging #2362 or this PR.
Guess it depends on issue resolves by this commit: d56ab47

@andrewkatz
Copy link

We're having major issues with this same problem and this PR fixes it. What would it take to get this merged?

@valeriomazzeo
Copy link
Member

valeriomazzeo commented Jun 23, 2016

Please add test coverage 👍

objc_setAssociatedObject(operation, RKParentObjectRequestOperation, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
if (parentOperation) {
objc_setAssociatedObject(operation, RKOperationFinishDate, [NSDate date], OBJC_ASSOCIATION_RETAIN_NONATOMIC);
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this return statement is not needed

blackm00n pushed a commit to blackm00n/RestKit that referenced this pull request Sep 9, 2016
trobrock added a commit to greenbits/RestKit that referenced this pull request Jun 29, 2018
trobrock added a commit to greenbits/RestKit that referenced this pull request Jun 29, 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.

None yet

3 participants