"Visited Links" can't be removed in the running App #4361
Replies: 3 comments 1 reply
-
Converted to discussion. There's a related discussion at https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=18686
What do you need to delete the cache for? You can use an You can also clear the |
Beta Was this translation helpful? Give feedback.
-
The user can the deactivate and activate the cache in the program. If the user clicks on cache deactivate, then should the stop tracking the data in cache and by closing the app should the cache folder removed.
and also i check in browser object is exist, then i disapose it. I use also this command to remove the cache path, if the user has deactivated the cache:
after that i delete the cache folder from AppData/Romaing:
I don't need any cache folder in AppData/Romaing if the user don't want to use the cache!! In this link, the solution is to build a helper service to clean everything after the app totally closed. I don't want to build a cleanup service for just this file "Visited Links" and i don't understand, why it still open at all and how may i close it?! |
Beta Was this translation helpful? Give feedback.
-
Problem solved by deleting the cache folder after closing the app. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
What version of the product are you using?
Version: 108.4.130
What architecture x86 or x64?
x64
What version of .Net?
.Net 7.0
On what operating system?
Win10
Are you using
WinForms
,WPF
orOffScreen
?WPF
What steps will reproduce the problem?
Remove "Cache" folder, while the system is Running and after Cef Shutdown, Browser Close and Disapose.
If I tried to remove the "Cache" folder while the system is running and after I shutdown the Cef and Close all open browsers and disapose them, then I get a exception, that only the file "Visited Links" is still open by another process. I could delete the file only if the App is totally/complete closed.
I need to delete the "Cache" folder and its content also "Visited Links" by closing the App. Everything would be delete unless the file "Visited Links". Do you have an solution for this problem or any ideas?
Beta Was this translation helpful? Give feedback.
All reactions