MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WebView2 stops to initialize
@champnic is already working on this.
Since Dec 7, 2021.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
(Lib version 1.0.1054.31, Runtime 96.0.1054.43)
I am working on a C++ MFC application that also hosts .NET WinForms forms and controls, including a WinForms form with a WebView2 control inside it. The form is instantiated/destroyed each time that view is entered/left. This works fine except in a particular case where the form is show right after other forms , then WebView2 stops initializing for the rest of the process's life. Calling EnsureCoreWebView2Async() does not help and the CoreWebView2InitializationCompleted event stops being triggered. Running EnsureCoreWebView2Async().Wait() never completes.
What could be the cause of this ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.