auth0 / Auth0.Android

Android toolkit for Auth0 API
https://auth0.com
MIT License
216 stars 133 forks source link

Destroy TWA Launcher at unbind #690

Closed poovamraj closed 1 year ago

poovamraj commented 1 year ago

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.