UWP WebView causing exception

0

I have a WebView in a Page that is used in a NavigationView. When I swicth to the corresponding tab the following exception is thrown:

Exception thrown at 0x75234662 (KernelBase.dll) in MyApp.exe: WinRT originate error - 0x8001010E : 'DispatcherQueueController is already created on this thread.'.

I determined it was the WebView that causes it through a process of elimination. It still occurs if I replace the xaml for the WebView with a sample from the docs. I.e.:

<WebView x:Name="webView1" Source="http://www.contoso.com"/>

Why is this happening? Might it cause problems? I found it while investigating occasional fatal exceptions from ucrtbase.dll. Might that be related?

xaml
webview
uwp
asked on Stack Overflow Nov 3, 2020 by NeutralHandle

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0