removeFunction method
Releases a function-table entry created by addFunction.
No-op when the module was linked without removeFunction in
EXPORTED_RUNTIME_METHODS: leaking a table slot beats throwing out of
the release microtask, far from the callback that caused it.
Implementation
void removeFunction(int fnPtr) {
if (!module.has('removeFunction')) return;
module.removeFunction(fnPtr);
}