mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 21:53:30 +00: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:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user