diff options
author | stephan <stephan@noemail.net> | 2025-01-15 20:53:14 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2025-01-15 20:53:14 +0000 |
commit | c738052394db4847c129c5039a973972e8125152 (patch) | |
tree | b2457081095a2662a765ced8e2c75f6c3cff28c9 /ext/wasm/api/sqlite3-api-cleanup.js | |
parent | 874b5e9fbb22231b283ec5a56921fa9b418c5c8d (diff) | |
download | sqlite-c738052394db4847c129c5039a973972e8125152.tar.gz sqlite-c738052394db4847c129c5039a973972e8125152.zip |
Work around [https://github.com/emscripten-core/emscripten/issues/23420|a behavior change in emsdk 4.0.0] which breaks the load/init timing of the wasm module.
FossilOrigin-Name: 00a750184bcf1a94bf4e7f1d5029a42671e87e2997ae97be07bd900d3702883d
Diffstat (limited to 'ext/wasm/api/sqlite3-api-cleanup.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-cleanup.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-cleanup.js b/ext/wasm/api/sqlite3-api-cleanup.js index 65dbb4eb6..7fb29e648 100644 --- a/ext/wasm/api/sqlite3-api-cleanup.js +++ b/ext/wasm/api/sqlite3-api-cleanup.js @@ -14,6 +14,9 @@ intended to be appended after all other sqlite3-api-*.js files so that it can finalize any setup and clean up any global symbols temporarily used for setting up the API's various subsystems. + + In Emscripten builds it's run in the context of a Module.postRun + handler. */ 'use strict'; if('undefined' !== typeof Module){ // presumably an Emscripten build |