dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.72k forks source link

[Bug][Android] Memory leak in FlyoutBehavior! #19960

Open BaY1251 opened 8 months ago

BaY1251 commented 8 months ago

Description

Repeatedly changing FlyoutBehavior and observing a continuous increase in memory

PS: I have an application that requires navigation to be disabled during certain operations. In specific situations, this operation will be very frequent. It is observed that the operation will become slower and slower until the program crashes

Steps to Reproduce

Download https://github.com/BaY1251/MauiDebug.git Open /FlyoutLeak/FlyoutLeak.sln to compile and generate a project Click the "Click me" button

Link to public reproduction project repository

https://github.com/BaY1251/MauiDebug.git

Version with bug

8.0.6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android7.1

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 8 months ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.