Add clarifying comment explaining threads block file system scanning on web.
This commit is contained in:
parent
7278190c71
commit
2c29a37840
1 changed files with 2 additions and 0 deletions
|
|
@ -3756,6 +3756,8 @@ void EditorFileSystem::remove_import_format_support_query(Ref<EditorFileSystemIm
|
|||
|
||||
EditorFileSystem::EditorFileSystem() {
|
||||
#if defined(THREADS_ENABLED) && !defined(WEB_ENABLED)
|
||||
// On web, threaded scanning blocks the browser's event loop, causing freezes.
|
||||
// See GH-112072 for details.
|
||||
use_threads = true;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue