Dispatcher should stop if Continue is false
authorDmitry Potapov <dpotapov@gmail.com>
Sun, 2 Feb 2014 21:48:32 +0000 (01:48 +0400)
committerDmitry Potapov <dpotapov@gmail.com>
Sun, 2 Feb 2014 21:48:32 +0000 (01:48 +0400)
commit3479f368e81c38529f51b7cc656e4394725e81f7
tree3919b7456a4679ecd669c971ff0a5b0e4e37676c
parented448193fb32107c219d8445811843ece479a659
Dispatcher should stop if Continue is false

If the dispatcher encounters that frame.Continue is false, it should return
immediately and do not try to execute anything. The unit test may be seen as
rather artificial, but the problem may happen in more realistic situations
when frames are unwound.
mcs/class/WindowsBase/System.Windows.Threading/Dispatcher.cs
mcs/class/WindowsBase/Test/System.Windows.Threading/DispatcherTest.cs