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.
2 parents 975440c + f838f32 commit 40af180Copy full SHA for 40af180
1 file changed
runtime/src/main/jni/JsV8InspectorClient.cpp
@@ -23,7 +23,8 @@ JsV8InspectorClient::JsV8InspectorClient(v8::Isolate *isolate)
23
inspector_(nullptr),
24
session_(nullptr),
25
connection(nullptr),
26
- context_()
+ context_(),
27
+ running_nested_loop_(false)
28
{
29
JEnv env;
30
@@ -223,7 +224,7 @@ JsV8InspectorClient *JsV8InspectorClient::GetInstance()
223
224
225
void JsV8InspectorClient::sendToFrontEndCallback(const v8::FunctionCallbackInfo<v8::Value>& args) {
226
- if(instance->connection == nullptr) {
227
+ if ((instance == nullptr) || (instance->connection == nullptr)) {
228
return;
229
}
230
0 commit comments