You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pushkin-
changed the title
[Problem/Bug]: Profile deleted immediately upon calling Deleted rather than being scheduled for when the browser process exits
[Problem/Bug]: Profile deleted immediately upon calling Delete rather than being scheduled for when the browser process exits
Apr 18, 2024
The corresponding CoreWebView2s will be closed and the CoreWebView2Profile.Deleted event will be raised.
The local profile's directory may not be deleted immediately but the corresponding CoreWebView2 will be closed upon the Delete() call. I will make sure we update the docs to make it more clear on that. Thanks!
What happened?
not clear if functional issue or just a doc issue, but
Profile::Delete
remarks say:However, I'm seeing it get deleted immediately, and so when I go to do something with
CoreWebView2
like callNavigate()
, I run into:Am I misunderstanding the docs, or do they need to be update? Or is it unexpected that the directory gets deleted immediately?
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
123.0.2420.97
SDK Version
1.0.2277.86
Framework
Winforms
Operating System
Windows 10
OS Version
22H2 - OSBuild 19045.4170
Repro steps
notice this when calling Profile.Delete() and then calling a CoreWebVIew2 function
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
AB#51575447
The text was updated successfully, but these errors were encountered: