Repository navigation
#4602 WpfMessagePumpStrategy - #4603
Conversation
- Replace Dispatcher.Run with PushFrame as Dispatcher.Run needs to exit all frames to return properly which causes issues if there is already a outer frame running
|
@dotnet-policy-service agree |
|
If it's possible to write a test that fails for the previous strategy and succeeds here, that would be great. |
Sure thing. I checked if there is a test for the message pump strategies. There are none. I will check where to add this test |
@jnm2 I'm sorry but I haven't found a place where to put tests for that. The reason is that it would require a reference to System.Windows.Threading (wpf). Furthermore, I do not see an easy way to mock this properly. |
|
@soerendd The builds fails due to a mismatch on sdks. This is fixed in the master branch, so if you just merge in the master branch and push that up, the builds should work just fine. |
|
@OsirisTerje Merged and pushed. |
Replace Dispatcher.Run with PushFrame as Dispatcher.Run needs to exit all frames to return properly which causes issues if there is already an outer frame.
Should fix #4602