MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / release

Method release

src/script/v8/engine.cpp:313–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 }
312
313 void release() {
314 m_local.ClearWeak();
315 m_local.Reset();
316 if (onRelease) {
317 auto cb = std::move(onRelease);
318 onRelease = nullptr;
319 cb();
320 }
321 }
322
323 void makeGlobal(const std::string& name) override {
324 auto& isolate = m_engine.get<V8Engine>()->m_isolate;

Callers 1

makeLocalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected