summaryrefslogtreecommitdiff
path: root/platform/web/js
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-11-03 14:00:52 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-11-05 14:06:09 +0100
commitcece83fdf26bcb0897b2ed785cd079a778878314 (patch)
tree5a4cbdc5fb3385e79e342c82040587619285aac6 /platform/web/js
parent6882890a34528e056f13020798f4a473046990bb (diff)
[Web] Improve Godot shutdown and cleanup.
Diffstat (limited to 'platform/web/js')
-rw-r--r--platform/web/js/engine/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/web/js/engine/config.js b/platform/web/js/engine/config.js
index 41be7b2512..4560f12b49 100644
--- a/platform/web/js/engine/config.js
+++ b/platform/web/js/engine/config.js
@@ -275,7 +275,7 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused-
'print': this.onPrint,
'printErr': this.onPrintError,
'thisProgram': this.executable,
- 'noExitRuntime': true,
+ 'noExitRuntime': false,
'dynamicLibraries': [`${loadPath}.side.wasm`],
'instantiateWasm': function (imports, onSuccess) {
function done(result) {