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
System.IO.IOException: The process cannot access the file 'AssistanceHomeSQLite' because it is being used by another process.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2535.41
Framework
WPF
Operating System
Windows 11
OS Version
No response
Repro steps
I am trying to execute this code:
stringwebViewUserDataFolder= WebView.CoreWebView2.Environment.UserDataFolder;intwebViewProcessId= Convert.ToInt32(WebView.CoreWebView2.BrowserProcessId);ProcesswebViewProcess= Process.GetProcessById(webViewProcessId);
WebView.Dispose();usingCancellationTokenSourcects=new(5000);try{// Never endsawait webViewProcess.WaitForExitAsync(cts.Token);}catch(OperationCanceledExceptione){}// This line fails
Directory.Delete(webViewUserDataFolder, recursive:true);
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
What happened?
I get this error:
System.IO.IOException: The process cannot access the file 'AssistanceHomeSQLite' because it is being used by another process.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2535.41
Framework
WPF
Operating System
Windows 11
OS Version
No response
Repro steps
I am trying to execute this code:
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: