Closed poovamraj closed 1 year ago
We were reported about a memory leak. This occured since we destroyed the TWA Launcher only if it was used to launch TWA browser. We now destory it in unbind which fixes the memory leak.
unbind
https://github.com/auth0/Auth0.Android/issues/686
Used Leak Canary to reproduce this issue and found it not occuring once destroy was called.
destroy
Changes
We were reported about a memory leak. This occured since we destroyed the TWA Launcher only if it was used to launch TWA browser. We now destory it in
unbind
which fixes the memory leak.References
https://github.com/auth0/Auth0.Android/issues/686
Testing
Used Leak Canary to reproduce this issue and found it not occuring once
destroy
was called.