MCPcopy Create free account
hub / github.com/antvis/F2Native / ResetLocalRef

Method ResetLocalRef

core/android/JavaRef.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void JavaRef<jobject>::ResetLocalRef(JNIEnv *env) {
50 if(obj_) {
51 // assert(env == AttachCurrentThread()); // Is |env| on correct thread.
52 env->DeleteLocalRef(obj_);
53 obj_ = NULL;
54 }
55}
56
57void JavaRef<jobject>::ResetGlobalRef() {
58 if(obj_) {

Callers 1

ResetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected