Skip to content

Wpf/WinForms: Don't throw an exception in WebView2 when it was aborted#2969

Merged
cwensley merged 1 commit into
picoe:developfrom
cwensley:curtis/webview2-initialization-exception
Jun 16, 2026
Merged

Wpf/WinForms: Don't throw an exception in WebView2 when it was aborted#2969
cwensley merged 1 commit into
picoe:developfrom
cwensley:curtis/webview2-initialization-exception

Conversation

@cwensley

Copy link
Copy Markdown
Member

If a control was created but then disposed right away it would not be successful and report E_ABORT. In this case, however, it is fine to continue as it wasn't needed in the first place.

@cwensley cwensley added this to the 2.12.0 milestone Jun 16, 2026
@cwensley cwensley merged commit cac2e0a into picoe:develop Jun 16, 2026
3 checks passed
@cwensley cwensley deleted the curtis/webview2-initialization-exception branch June 16, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant