Skip to content
Snippets Groups Projects
Unverified Commit 5af7d921 authored by Robin Appelman's avatar Robin Appelman Committed by Morris Jobke
Browse files

Make Cache::removeChildren non recursive


Currently the "add new files during scanning" call stack is smaller than
the "remove deleted files during scanning" call stack. This can lead to
the scanner adding folders in the folder tree that are to deep to be
removed.

This changes the `removeChildren` logic to be non recursive so there is
no limit to the depth of the folder tree during removal

Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent 03603db4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment