mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-10 22:47:58 +08:00
FBASSERT -> FBJNI_ASSERT, ALOGE -> FBJNI_LOGE, ALOGF -> FBJNI_LOGF
Reviewed By: BurntBrunch Differential Revision: D5609686 fbshipit-source-id: 3ac863abe8555e768df1625e414f09b35d49853d
This commit is contained in:
committed by
Facebook Github Bot
parent
9e71b6065f
commit
1cc7ae2ae1
@@ -28,7 +28,7 @@ jni::local_ref<CxxModuleWrapper::javaobject> CxxModuleWrapper::makeDsoNative(
|
||||
// The handle will remain valid until java closes it. There's no
|
||||
// way to do this on Android, but that's no reason to be sloppy
|
||||
// here.
|
||||
auto guard = folly::makeGuard([&] { FBASSERT(dlclose(handle) == 0); });
|
||||
auto guard = folly::makeGuard([&] { CHECK(dlclose(handle) == 0); });
|
||||
|
||||
void* sym = dlsym(handle, fname.c_str());
|
||||
if (!sym) {
|
||||
|
||||
Reference in New Issue
Block a user