windows: Fix performance issues after trashing or deleting a folder (#27498)

Closes #25247

Since the upstream `Notify` repo hasn't merged the related PR yet, this
is basically a temporary patch to work around it.

Release Notes:

- N/A
d232150d67张小白 committed on 3/26/2025, 3:20:09 PM· committed by GitHubparent9a2dfa6
3 files changedLine totals unavailable