Skip to content

Commit 79ae9c5

Browse files
authored
Address comments
1 parent 9e894e8 commit 79ae9c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JNI/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ VOID KinesisVideoClientWrapper::logPrintFunc(UINT32 level, PCHAR tag, PCHAR fmt,
26452645

26462646
CHK(FALSE, STATUS_SUCCESS);
26472647
}
2648-
CHK(mJvm != NULL && mGlobalJniObjRef != NULL, STATUS_SUCCESS);
2648+
CHK(mJvm != NULL, STATUS_SUCCESS);
26492649

26502650
envState = mJvm->GetEnv((PVOID*) &env, JNI_VERSION_1_6);
26512651
if (envState == JNI_EDETACHED) {
@@ -2704,4 +2704,4 @@ VOID KinesisVideoClientWrapper::logPrintFunc(UINT32 level, PCHAR tag, PCHAR fmt,
27042704
if (attached) {
27052705
mJvm->DetachCurrentThread();
27062706
}
2707-
}
2707+
}

0 commit comments

Comments
 (0)