fullcontrols icon indicating copy to clipboard operation
fullcontrols copied to clipboard

FlatMenuItem, Memory Leak

Open IBangedMyToaster opened this issue 1 year ago • 0 comments

Description

When using FlatMenuItem inside a DataTemplate, it seems like there might be a memory leak issue. Maybe you could look into the matter.

By replacing FlatMenuItem with the default equivalents, the issue is fixed, which leads me to believe there could be a bug in the library.

This is my xaml structure:

GlassScrollViewer
    └── ItemsControl
        └── ItemsControl.ItemTemplate
            └── DataTemplate
                └── Border
                    └── Border.ContextMenu
                        └── FlatContextMenu
                            ├── FlatMenuItem
                            ├── FlatMenuItem
                            ├── FlatMenuSeparator
                            └── FlatMenuItem

Affected release

2.2.0

Framework

.NET 6

OS

Windows 11

IBangedMyToaster avatar Apr 21 '24 19:04 IBangedMyToaster