dotnet / dotnet/wpf

AssemblyLoadContext - Assemblies with WPF Window Cannot Be Unloaded

Open
#6,247 2 comments 0 reactions 0 assignees View on GitHub
Enhancement Requested
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

**Problem description:**
AssemblyLoadContext's unload method fails (does not garbage collect/unload the assembly) when the assembly has a WPF window. There is a thread about this issue [here in the main dotnet runtime GitHub](https://github.com/dotnet/runtime/issues/13226), but they recommended someone create a thread in the WPF GitHub .

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.