NSURLSession connection leak

from blog The Desolation of Blog, | ↗ original
Apple's documentation for the class NSURLSession (or URLSession for Swift coders) contains a warning marked "Important": The session object keeps a strong reference to the delegate until your app exits or explicitly invalidates the session. If you don’t invalidate the session, your app leaks memory until the app terminates. This warning doesn't...