aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/common/whwasmutil.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-12-26 13:45:10 +0000
committerstephan <stephan@noemail.net>2022-12-26 13:45:10 +0000
commit171aa209faaa5d42a7208cefebe13d952c9208cf (patch)
treeda42d908d5609bac278137148e6e32beaed61604 /ext/wasm/common/whwasmutil.js
parent7197f0a8f22e66e9535684655dde72e33b94eb12 (diff)
downloadsqlite-171aa209faaa5d42a7208cefebe13d952c9208cf.tar.gz
sqlite-171aa209faaa5d42a7208cefebe13d952c9208cf.zip
Extend [0e69b2c379e618] to support uninstalling stale JS-to-WASM function pointers added on behalf of UDFs.
FossilOrigin-Name: 7a46e629dcbf97ae037c5abb39306af7ad55f1910c1e962373e09d88d8bd5a33
Diffstat (limited to 'ext/wasm/common/whwasmutil.js')
-rw-r--r--ext/wasm/common/whwasmutil.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/wasm/common/whwasmutil.js b/ext/wasm/common/whwasmutil.js
index df401c8fe..9b946b24b 100644
--- a/ext/wasm/common/whwasmutil.js
+++ b/ext/wasm/common/whwasmutil.js
@@ -1659,8 +1659,9 @@ self.WhWasmUtilInstaller = function(target){
static warnOnUse = false;
/** If true, convertArg() will FuncPtrAdapter.debugOut() when it
- (un)installs a function binding to/from WASM.
- */
+ (un)installs a function binding to/from WASM. Note that
+ deinstallation of bindScope=transient bindings happens
+ via scopedAllocPop() so will not be output. */
static debugFuncInstall = false;
/** Function used for debug output. */