MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / finalize

Method finalize

src/PyBytesProxyHandler.cc:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void PyBytesProxyHandler::finalize(JS::GCContext *gcx, JSObject *proxy) const {
426 PyObjectProxyHandler::finalize(gcx, proxy);
427
428 JS::PersistentRootedObject *arrayBuffer = JS::GetMaybePtrFromReservedSlot<JS::PersistentRootedObject>(proxy, OtherSlot);
429 delete arrayBuffer;
430}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected