diff options
author | stephan <stephan@noemail.net> | 2022-08-24 14:50:10 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-08-24 14:50:10 +0000 |
commit | 9c765e7945bfe79ac724e8eaf9103914f0557271 (patch) | |
tree | 5f18f56a413ce2cb935bbf1ec6bc34cd5574db46 /ext/wasm/api/sqlite3-api-cleanup.js | |
parent | 9a34509a06ad893ae3ac786363ebf8d29b3e3a7c (diff) | |
download | sqlite-9c765e7945bfe79ac724e8eaf9103914f0557271.tar.gz sqlite-9c765e7945bfe79ac724e8eaf9103914f0557271.zip |
js: resolve the mysterious "extra" unhandled exception notification, caused by inadvertently forking one promise into two separate ones (failing to properly reassign a then() result). Fix a typo in new Worker 1 code which caused the DB(filename) name to be incorrect.
FossilOrigin-Name: 7467ac88801224089b51c6ba7924f93283dd87beca602a186c83632df26cfc85
Diffstat (limited to 'ext/wasm/api/sqlite3-api-cleanup.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-cleanup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-cleanup.js b/ext/wasm/api/sqlite3-api-cleanup.js index ed6b8c40e..01aba213e 100644 --- a/ext/wasm/api/sqlite3-api-cleanup.js +++ b/ext/wasm/api/sqlite3-api-cleanup.js @@ -21,7 +21,7 @@ if('undefined' !== typeof Module){ // presumably an Emscripten build Install a suitable default configuration for sqlite3ApiBootstrap(). */ const SABC = self.sqlite3ApiBootstrap.defaultConfig; - SABC.Module = Module /* ==> Current needs to be exposed here for test code. NOT part + SABC.Module = Module /* ==> Currently needs to be exposed here for test code. NOT part of the public API. */; SABC.exports = Module['asm']; SABC.memory = Module.wasmMemory /* gets set if built with -sIMPORT_MEMORY */; |