Lukasz Spas
Lukasz Spas
Very likely it's your devices' specific issue. What's your HW? Works fine on my LG v30.
Seems like x:Name binding to the Button causes the same issue (RoutedEnevtHandler seems to remain there forever and it is kinda random.. 1-2 buttons seems alright but adding more makes...
EDIT: x:Name binding in TextBlock adds +1 to refcount of the VM (View can be collected though). Seems like I have to roll back to x:Bind / Binding in XAML...
I'll take a look at it when I get back from work. Anyways it feels like the problem is much more complex than that. It feels like the main cause...
Not using a CachingFrameAdapater and weak reference should be removed when forcing GC
some properties (like event handlers) are also not refreshing when they are changed for `Combobox`
Experiencing the same issue. I also found that even though I have 2 places I use a transient dependency it gets created 3 times. Then on scene change only the...
After some debugging I think I found a root cause: when IDisposable is used together with AsTransient() a new instance will be created and passed to DisposableManager. It simply won't...
Here is an example workaround: ```csharp public sealed class DisposableTracker : IDisposable where T : IDisposable { private readonly List objects = new List(); [Preserve] public DisposableTracker() { } public...