MCPcopy Create free account
hub / github.com/NativeScript/android / BindFinalizer

Method BindFinalizer

test-app/runtime/src/main/cpp/URLImpl.h:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 static void CanParse(const v8::FunctionCallbackInfo<v8::Value> &args);
112
113 void BindFinalizer(v8::Isolate *isolate, const v8::Local<v8::Object> &object) {
114 v8::HandleScope scopedHandle(isolate);
115 weakHandle_.Reset(isolate, object);
116 weakHandle_.SetWeak(this, Finalizer, v8::WeakCallbackType::kParameter);
117 }
118
119 static void Finalizer(const v8::WeakCallbackInfo<URLImpl> &data) {
120 auto *pThis = data.GetParameter();

Callers 3

CtorMethod · 0.45
CtorMethod · 0.45
CtorMethod · 0.45

Calls 2

SetWeakMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected