Skip to content

Commit f838f32

Browse files
author
Mihail Slavchev
committed
disable debug log messages in release mode
1 parent 24b8cda commit f838f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/main/jni/JsV8InspectorClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ JsV8InspectorClient *JsV8InspectorClient::GetInstance()
224224

225225
void JsV8InspectorClient::sendToFrontEndCallback(const v8::FunctionCallbackInfo<v8::Value>& args) {
226226

227-
if(instance->connection == nullptr) {
227+
if ((instance == nullptr) || (instance->connection == nullptr)) {
228228
return;
229229
}
230230

0 commit comments

Comments
 (0)