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

Method releaseNativeRef

valdi/src/valdi/android/NativeBridge.cpp:887–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885 jlong nativeHandle) {
886 auto* value = reinterpret_cast<Valdi::Value*>(nativeHandle);
887 delete value;
888}
889
890void ValdiAndroid::NativeBridge::releaseNativeRef(fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
891 jlong handle) {
892 Valdi::unsafeBridgeRelease(reinterpret_cast<void*>(handle));
893}

Callers

nothing calls this directly

Calls 1

unsafeBridgeReleaseFunction · 0.85

Tested by

no test coverage detected