-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak when nesting ViewModelViewHosts in WPF #1314
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this because it helps reduce the workload of our extremely busy maintainers. If you want this issue progressed faster please start talks with a maintainer with how you can help out. |
|
Should be fixed via #3105 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Memory leaks when nesting
ViewModelViewHost
instances. It seems theDependencyProperty
infrastructure is holding onto an instance of theViewModelViewHost
, which in turn has a reference to a VM:If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
The best repro I have is the source code for my book samples, which is not currently publicly available. If someone wants to take a look at this before I do then ping me.
What is the expected behavior?
Memory should not leak, regardless of how nested
ViewModelViewHost
instances are.What is the motivation / use case for changing the behavior?
Leaking memory is bad, mkay?
Which versions of ReactiveUI, and which platform / OS are affected by this issue? Did this work in previous versions of ReativeUI? Please also test with the latest stable and snapshot (http://docs.reactiveui.net/en/contributing/snapshot/index.html) versions.
7.2
Other information (e.g. stacktraces, related issues, suggestions how to fix)
The text was updated successfully, but these errors were encountered: