Skip to content

mediafoundation: Use core dispatcher of current view instead of main view

Main view might be hidden depending on application's view tree. In that case, ICoreApplication object doesn't return get_MainView() method

Note that nothing about this behavior was documented by Microsoft https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.core.coreapplication.mainview

Merge request reports