We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b8cda commit f838f32Copy full SHA for f838f32
runtime/src/main/jni/JsV8InspectorClient.cpp
@@ -224,7 +224,7 @@ JsV8InspectorClient *JsV8InspectorClient::GetInstance()
224
225
void JsV8InspectorClient::sendToFrontEndCallback(const v8::FunctionCallbackInfo<v8::Value>& args) {
226
227
- if(instance->connection == nullptr) {
+ if ((instance == nullptr) || (instance->connection == nullptr)) {
228
return;
229
}
230
0 commit comments