Today I (re-)learned that every NSURLSession with a delegate is a retain cycle by default.

You have to call invalidateAndCancel to release the delegate.

· · Web · 0 · 2 · 5
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!