Skip to content

Commit 6fb82ac

Browse files
committed
always initialize running_nested_loop_ when creating the jsv8inspectorclient to avoid randomness
1 parent 3a92285 commit 6fb82ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/src/main/jni/JsV8InspectorClient.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ JsV8InspectorClient::JsV8InspectorClient(v8::Isolate *isolate)
2323
inspector_(nullptr),
2424
session_(nullptr),
2525
connection(nullptr),
26-
context_()
26+
context_(),
27+
running_nested_loop_(false)
2728
{
2829
JEnv env;
2930

0 commit comments

Comments
 (0)