pusher/libPusher

Retain cycle in PTURLRequestOperation

Closed this issue · 2 comments

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.

Did this fix your issue #246 ?

Sounds like a dupe of #246 to me.