You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rb_retain(block) retains the block object.
The object will be used later when block method will be called by some event.
So, we have to keep the block object by using rb_retain(block) which will call [block retain]; in Objective-C land.
If rb_retain(block) causes increasing memory usage, we have to release the object by rb_release().
There are various places in the code where blocks are used where we have comments that say "FIXME need release...."
block = rb_retain(block); // FIXME need release...
What is the fix for this? What implication does this not being fixed have?
@Watson1978 can you provide any guidance?
The text was updated successfully, but these errors were encountered: