You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During construction of a Folder object, a check (checkLocalPath) is done, and the object is only fully initialised when that succeeds. If it fails, the Folder is left incomplete (missing a sync engine, among things), and cannot really be used. This can lead to crashes (#11982) when the engine is accessed anyway.
We should check (and refactor) the Folder construction to be done in a static factory method that can either fail, or produce a valid object.
The text was updated successfully, but these errors were encountered:
or creates a nop folder implementation - this could help to clean up the folder implementation with all the condition checking if _engnie exists of not ...
During construction of a
Folder
object, a check (checkLocalPath
) is done, and the object is only fully initialised when that succeeds. If it fails, theFolder
is left incomplete (missing a sync engine, among things), and cannot really be used. This can lead to crashes (#11982) when the engine is accessed anyway.We should check (and refactor) the
Folder
construction to be done in a static factory method that can either fail, or produce a valid object.The text was updated successfully, but these errors were encountered: