-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
Describe the bug?
Okta framework is showing memory leaks when run in debug memory graph. Appears to be caused by not invalidating the session after use.
https://lapcatsoftware.com/articles/NSURLSession.html
What is expected to happen?
Framework should not leak memory.
What is the actual behavior?
URLSession is leaking.
Reproduction Steps?
Initialize OktaOidcStateManager and observe memory leaks in Debug Memory Graph.
All the reported leaks in this screenshot appear to be from the URLSession allocated in OktaOidcConfig.setupURLSession
Additional Information?
No response
SDK Version(s)
3.11.2
Build Information
No response