Skip to content

Commit

Permalink
FBASSERT -> FBJNI_ASSERT, ALOGE -> FBJNI_LOGE, ALOGF -> FBJNI_LOGF
Browse files Browse the repository at this point in the history
Reviewed By: BurntBrunch

Differential Revision: D5609686

fbshipit-source-id: 3ac863abe8555e768df1625e414f09b35d49853d
  • Loading branch information
mhorowitz authored and facebook-github-bot committed Aug 17, 2017
1 parent 9e71b60 commit 1cc7ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/react/jni/CxxModuleWrapper.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 1cc7ae2

Please sign in to comment.