Fixed the issue of not updating the recentList file after the window was closed. This issue is caused by the late update of files when the window is closed.
How to test
After each window closure, check if the recentList file has been updated
Follow-ups
Review checklist
[x] As an author, I have thoroughly tested my changes and carefully followed the review guidelines
What it does
Fixed the issue of not updating the recentList file after the window was closed. This issue is caused by the late update of files when the window is closed.
How to test
After each window closure, check if the recentList file has been updated
Follow-ups
Review checklist
Reminder for reviewers