MCPcopy Create free account
hub / github.com/Snapchat/Valdi / jsWrappedObjectFinalize

Function jsWrappedObjectFinalize

valdi/src/valdi/quickjs/QuickJSUtils.cpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return JS_ThrowTypeError(context, "Native class member called with an incompatible receiver");
56 }
57
58 if (valdiJsContext.interruptRequested()) {
59 valdiJsContext.onInterrupt();
60 }
61
62 auto result = functionData->callback(instanceData->getOpaque().get(), callContext);

Callers

nothing calls this directly

Calls 1

setObjectWrappedObjectFunction · 0.85

Tested by

no test coverage detected