summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hermansson <mikael@hermansson.io>2026-07-30 21:48:09 +0200
committerThaddeus Crews <repiteo@outlook.com>2026-08-12 11:26:26 -0500
commitbfbe912233ef28e1667730313ba0516ac2a576df (patch)
tree20bbe1964125096591421f23da41e41f2fba15b5
parentbd76f1136c3f325d583e464942763e4fe687f312 (diff)
Remove `emscripten_cancel_main_loop` from web `exit_callback`
(cherry picked from commit 043a6b60be92b72eca78dd1f81942ceee84f6d40)
-rw-r--r--platform/web/web_main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/web/web_main.cpp b/platform/web/web_main.cpp
index 0ca3bc01c4..6b57b0712e 100644
--- a/platform/web/web_main.cpp
+++ b/platform/web/web_main.cpp
@@ -70,7 +70,6 @@ void exit_callback() {
delete os; // We used a normal new, so it needs a normal delete.
os = nullptr;
godot_cleanup_profiler();
- emscripten_cancel_main_loop(); // We are exiting in this iteration.
emscripten_force_exit(exit_code); // Exit runtime.
}