MVVM Light Messenger executing multiple times

后端 未结 5 1780
不知归路
不知归路 2021-01-13 11:29

I am using MVVM Light and am using Messages to communicate between ViewModels to let a ViewModel know when it is ok to execute something. My problem is that I register for

5条回答
  •  天命终不由人
    2021-01-13 11:57

    really old but thought I would answer just in case somebody needs it. I was fairly new to silverlight at the time and the issue ended up being a memory leak as the viewModel, which had multiple instances, was still in memory.

提交回复
热议问题