Get disposing working for subscription manager

This commit is contained in:
TheXamlGuy
2024-05-12 23:21:05 +01:00
parent d6593aac31
commit 7efaf775ec
3 changed files with 47 additions and 28 deletions
@@ -43,6 +43,11 @@ public class ContentControlHandler :
{
await deactivated.OnDeactivated();
}
if (content is IDisposable disposable)
{
disposable.Dispose();
}
}
}