DisplayInformation on Android leaks memory #2230
Labels
kind/bug
Something isn't working
platform/android 🤖
Categorizes an issue or PR as relevant to the Android platform
Current behavior
WindowManager
andDisplayMetrics
instances are not disposed of after use, which causes memory leaks on Android.Expected behavior
No memory leaks.
How to reproduce it (as minimally and precisely as possible)
Properties are re-initialized when display configuration changes (for example on orientation change). When this is done repeatedly, memory footprint is growing.
Environment
Nuget Package: latest
Package Version(s): latest
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: