Reply to comment

Race condition?

Navigation.SelectedPerson in both the .When() and .Do() clauses allows the possibility that the value could be set to null on another thread in between the check and the call, resulting in a null reference exception. Is there a way to guard against this? I can call BeginInvoke when setting of the value in the other thread if necessary which should solve it in my case, but thought I'd ask if this is something you have encountered.

Reply

By submitting this form, you accept the Mollom privacy policy.