-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Error: orphaned/detached FileEntries don't have path (except Root) #14
Comments
Can you please provide a minimal repro code? |
It seems like the issue is manifesting whenever there are many re-renders in a short time frame. I can't provide a repro right this minute but I can try to get one soon |
The inotify pipeline does have debouncing built-in to prevent frequent re-renders, but there are some specific cases where the inotify event queue is flushed. Based on the code we'll be able to find when/if that flush is being triggered. |
When my app is playing animations, it re-renders the tree view at (ideally) 60fps. This causes a big fat error as well. So it might not be inotify after all. |
Now this happens for each child of the directory when an expanded directory is deleted via inotify. Directory has 13 children? 13 errors Maybe this is a race condition when chokidar emits deleted events for both a directory and its children |
I see this as a plausible case. Stack trace might be of help here. Better yet, some breakpoints that can help us understand the flow of events leading to the errors. |
Looks like this happens when there is an extremely fast stream of
inotify
(hundreds of events per second).The text was updated successfully, but these errors were encountered: