-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Avoid crash on other Linux due to ref counting issues in Directory cache #2149
Conversation
Yeah I can no longer reproduce the crash with this branch 🥳 |
Just checking that all calls to cache_lookup can be guaranteed non-null. |
Hmm maybe not. Although the property |
I did manage to get a warning about the creation_key differing from the location when connected to a remote public WebDAV server but then I could not reproduce it. The code should in any case be robust in this situation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the issue
Fix #2148 (hopefully)
A separate critical warning during Directory destruction is also fixed.
It was noticed that the
creation_key
property may no longer be required after ef93c74. The creation_key should be the same as the location now as it is always a folder and the location should no longer change during initialisation.However, it was retained for now in case there is a corner case that needs it.