codeandtheory / ynetwork-ios

A networking layer for iOS and tvOS.
Apache License 2.0
3 stars 3 forks source link

Add `unconfigure` methods #10

Open mpospese opened 1 year ago

mpospese commented 1 year ago

We can configure NetworkManager's and NetworkEngine's, we should be able to unconfigure them too.

This is required because the session delegate used to configure a URLSession can leak otherwise (this is a problem in URLSession that we have to work around).

func unconfigure()