* Class: snapchat_valdi_nativebridge_ValdiNativeBridge * Method: destroyContext * Signature: (JJ)V */
| 464 | * Signature: (JJ)V |
| 465 | */ |
| 466 | void ValdiAndroid::NativeBridge::destroyContext( // NOLINT |
| 467 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
| 468 | jlong handle, |
| 469 | jlong contextHandle) { |
| 470 | auto* runtime = getRuntime(handle); |
| 471 | auto context = getContext(contextHandle); |
| 472 | |
| 473 | if (runtime != nullptr && context != nullptr) { |
| 474 | runtime->destroyContext(context); |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | void ValdiAndroid::NativeBridge::setParentContext( // NOLINT |
| 479 | fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT |
nothing calls this directly
no test coverage detected