Remove emscripten_cancel_main_loop from web exit_callback

(cherry picked from commit 043a6b60be92b72eca78dd1f81942ceee84f6d40)
This commit is contained in:
Mikael Hermansson authored and Thaddeus Crews committed 2026-08-12 11:26:26 -05:00
1 parent bd76f1136c
commit bfbe912233
1 file changed
-1
-1
View File
@@ -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.
}