[Web] Improve Godot shutdown and cleanup.

This commit is contained in:
Fabio Alessandrelli 2022-11-03 14:00:52 +01:00
parent 6882890a34
commit cece83fdf2
2 changed files with 19 additions and 19 deletions

View file

@ -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) {