mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-23 00:40:04 +00:00
Fix program hanging when calling FileSelector::refresh()
The FileSystemModule is already locked, so if we use LockFS another time it will try to lock a FileSystemModule::m_mutex for a second time.
This commit is contained in:
parent
f41c6bc1c5
commit
debd22014c
@ -1030,7 +1030,6 @@ std::string FileSelector::getSelectedExtension() const
|
||||
void FileSelector::refresh()
|
||||
{
|
||||
FileSystemModule *fs = FileSystemModule::instance();
|
||||
LockFS lock(fs);
|
||||
fs->refresh();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user