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
We would like to purge the web view 2 user data folder when our application closes.
The folder is created upon the first webView2 creation.
We open a web page, do stuff and then close our Window.
We also call m_controller->Close() and several other APIs to delete callback tokens of the webView2 world.
I did not see anything at the webView2 environment level to say "all done".
FWIW, CEF3 has a shutdown() API.
We close our intermediate DLL.
We are trying to delete the user folder via
We try this in our DLL both prior to its closing and afterward with another mechanism.
The user data folder remains in %TEMP%.
The return code seen is x20
"The process cannot access the file because it is being used by another process."
Any suggestions?
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
No response
SDK Version
117.0.2045.31.manifest
Framework
Win32
Operating System
Windows 10
OS Version
No response
Repro steps
See description above.
Regression
No, this never worked
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
Thank you for the suggestion. I will add this hook and observe what exit callbacks occur for our application and their timing relative to our application closing.
What happened?
We would like to purge the web view 2 user data folder when our application closes.
The folder is created upon the first webView2 creation.
We open a web page, do stuff and then close our Window.
We also call m_controller->Close() and several other APIs to delete callback tokens of the webView2 world.
I did not see anything at the webView2 environment level to say "all done".
FWIW, CEF3 has a shutdown() API.
We close our intermediate DLL.
We are trying to delete the user folder via
We try this in our DLL both prior to its closing and afterward with another mechanism.
The user data folder remains in %TEMP%.
The return code seen is x20
"The process cannot access the file because it is being used by another process."
Any suggestions?
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
No response
SDK Version
117.0.2045.31.manifest
Framework
Win32
Operating System
Windows 10
OS Version
No response
Repro steps
See description above.
Regression
No, this never worked
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: