Skip to content

Commit a4606e8

Browse files
gzzhanghao3y3
authored andcommitted
Dont mutate liveEditEnabled state in CallFrame::Restart
1 parent 8b8c615 commit a4606e8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/JavaScriptCallFrame.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ namespace nodex {
8787
TryCatch tryCatch;
8888
MaybeLocal<Value> result;
8989

90-
v8::Debug::SetLiveEditEnabled(info.GetIsolate(), true);
9190
result = restartFunction->Call(callFrame, 0, NULL);
92-
v8::Debug::SetLiveEditEnabled(info.GetIsolate(), false);
9391

9492
MAYBE_RETHROW();
9593
RETURN(CHK(result));

0 commit comments

Comments
 (0)