-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This change adds a RWMutex to synchronize access to the fileDialog.data file list. The refreshDir function clears and rebuilds fileDialog.data, meanwhile, several other functions are indexing into it. This allowed for scenarios where fileDialog.data was either nil or smaller than expected when indexing into it. Fixes #4260
- Loading branch information
1 parent
767105e
commit f17ccd8
Showing
1 changed file
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters