You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
This commit is contained in:
@@ -5497,7 +5497,6 @@ bool EditorNode::immediate_confirmation_dialog(const String &p_text, const Strin
|
||||
cd->popup_centered();
|
||||
|
||||
while (true) {
|
||||
OS::get_singleton()->delay_usec(1);
|
||||
DisplayServer::get_singleton()->process_events();
|
||||
Main::iteration();
|
||||
if (singleton->immediate_dialog_confirmed || !cd->is_visible()) {
|
||||
|
||||
Reference in New Issue
Block a user