Replace .bind(...).call_deferred() with .call_deferred(...)

This commit is contained in:
A Thousand Ships
2024-05-27 13:29:57 +02:00
parent be56cab58c
commit 4ed62665a2
11 changed files with 26 additions and 26 deletions

View File

@@ -2890,7 +2890,7 @@ void EditorHelp::_load_doc_thread(void *p_udata) {
callable_mp_static(&EditorHelp::_gen_extensions_docs).call_deferred();
} else {
// We have to go back to the main thread to start from scratch, bypassing any possibly existing cache.
callable_mp_static(&EditorHelp::generate_doc).bind(false).call_deferred();
callable_mp_static(&EditorHelp::generate_doc).call_deferred(false);
}
OS::get_singleton()->benchmark_end_measure("EditorHelp", vformat("Generate Documentation (Run %d)", doc_generation_count));