Skip to content

#5655 Fix freeze on purging cef cache#5680

Open
akleshchev wants to merge 1 commit intorelease/2026.02from
andreyk/5655_purge
Open

#5655 Fix freeze on purging cef cache#5680
akleshchev wants to merge 1 commit intorelease/2026.02from
andreyk/5655_purge

Conversation

@akleshchev
Copy link
Copy Markdown
Contributor

Handle multi-second freeze on startup due to cef cleanup.

@Hecklezz
Copy link
Copy Markdown
Contributor

Hecklezz commented Apr 20, 2026

Your changes assumes that the user only ever has 1 viewer open at once, otherwise if they have more than 1, renaming the entire cache folder will fail every time. In the implementation I did in Firestorm, if the parent folder was unable to be renamed, I then looped every pid cache folder and tried to rename each one individually, and only those not in use by the other viewer will get renamed and will be deleted.

If that is fine and intended, then ignore me :)

@akleshchev
Copy link
Copy Markdown
Contributor Author

Makes sense, thank you.

@akleshchev
Copy link
Copy Markdown
Contributor Author

Remade to move folders individually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seems like the viewer is taking longer to start recently. Test that

4 participants