Skip to content

Commit

Permalink
Dont mutate liveEditEnabled state in CallFrame::Restart
Browse files Browse the repository at this point in the history
  • Loading branch information
gzzhanghao authored and 3y3 committed Mar 12, 2016
1 parent 8b8c615 commit a4606e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/JavaScriptCallFrame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ namespace nodex {
TryCatch tryCatch;
MaybeLocal<Value> result;

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

MAYBE_RETHROW();
RETURN(CHK(result));
Expand Down

0 comments on commit a4606e8

Please # to comment.