Some AndroidJavaObject instances were not properly Disposed when passing breadcrumbs through to the native android layer.
Changeset
Added a disposable container class that tracks all created objects and disposes of them after use.
Testing
Created an example app that, when using the latest release, always crashed within 2 seconds of launching due to the leak.
Then rebuilt the app with a new build containing the fix and left it running with a profiler attached for 30 mins. It did not crash and memory usage remaind constant.
Goal
Some AndroidJavaObject instances were not properly Disposed when passing breadcrumbs through to the native android layer.
Changeset
Testing
Created an example app that, when using the latest release, always crashed within 2 seconds of launching due to the leak. Then rebuilt the app with a new build containing the fix and left it running with a profiler attached for 30 mins. It did not crash and memory usage remaind constant.