mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Fixed memory leak

Open Karthick47v2 opened this issue 4 years ago • 0 comments

Unity Web Request UploadHandler isn't disposed correctly, resulting memory leak. There is no code for signaling that the UploadHandler is no longer used and cleaning up the resources it is using. I am working on example scene "ZoomableMap" for my project. It happened with Unity 2021.1.5f1, Unity 2019.4.29f1 and mobile devices also, all results memory leak and crashes when start playing (90 % of times).

mb

Description of changes

Added code to dispose UploadHandler

Reviewers

@abhishektrip @brnkhy

Karthick47v2 avatar Aug 21 '21 07:08 Karthick47v2