Fix data race against EditorFileSystem.scanning_changes_done

This commit is contained in:
Wilson E. Alvarez
2024-02-09 07:47:13 -05:00
parent 41564aaf77
commit 9790b992ba
2 changed files with 5 additions and 5 deletions

View File

@ -231,7 +231,7 @@ class EditorFileSystem : public Node {
Thread thread_sources;
bool scanning_changes = false;
bool scanning_changes_done = false;
SafeFlag scanning_changes_done;
static void _thread_func_sources(void *_userdata);