Closed chadalon closed 1 month ago
use cancellationtokens: Cancel thread wait (on new thread) until other one is done proceed (new cancellationtoken?)
Also now that we can select folders that contain access denied subfolders there is a need to implement skipping over these folders in the updater (for updating files, deleting, AND restoring).
Also added a try/catch in FindEnclosingStudioOneFolders so selected project directories can have invalid subfolders in them (access rights etc) and just skip over those.
This keeps it from hanging the dispatcher thread. The only thing to design is the cancelation of the current thread running it if we change the directory while it's still validating. Also while validating display a message so the user isn't confused.
If the user is using the textbox to type in a path, make sure it is still a seamless experience while implementing this.