WPF RadWindow memory leak

0 Answers 37 Views
Window
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 18 Aug 2022, 09:31 AM | edited on 18 Aug 2022, 09:31 AM

When I execute this code to open a window in the application, I see in the Diagnostic Tool that the window is cleaned

var dialog = new TestWindow();
dialog.Show();

<Window x:Class="BusinessModules.WfmModule.Views.TestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
       Height="450" Width="800">
    <Grid/>
</Window>

public partial class TestWindow
{
    public TestWindow()
    {
        InitializeComponent();
    }
}

 

But if I change to RadWindow

 

<telerik:RadWindow x:Class="BusinessModules.WfmModule.Views.TestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
       Height="450" Width="800">
    <Grid/>
</telerik:RadWindow>

I see that the window is not cleaned

This is after I opened it 18 times and of course closed all the windows

 

Would appreciate help

 

No answers yet. Maybe you can help?

Tags
Window
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or