Understanding memory leaks in closures
Emilien Stremsdoerfer
43210

Great Article! Thanks!

In the Alamofire example as stated by you, even if I keep a strong reference of ‘request’ or SessionManager there would be no leak. But what if I have a strong reference of the ‘queue’ (which has a strong reference to the closure) in the controller, will there be a leak then? Please explain.

Show your support

Clapping shows how much you appreciated Arpit Srivastava’s story.