Retain cycle in PTURLRequestOperation
Closed this issue · 2 comments
danset commented
NSURLSession
retains its delegate until you invalidate it which currently only happens when the operation is cancelled. There needs to be a call to finishTasksAndInvalidate
or invalidateAndCancel
somewhere in the case where the operation finishes executing or it never gets deallocated since the operation and the session are retaining each other.
rex-remind101 commented
Did this fix your issue #246 ?
lukeredpath commented
Sounds like a dupe of #246 to me.