Skip to content

Commit

Permalink
Remove unnecessary nested Locker and Isolate::Scope use
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Jan 11, 2022
1 parent ede7cee commit a1f0d99
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions v8go.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ const char* CopyString(String::Utf8Value& value) {
}

RtnError ExceptionError(TryCatch& try_catch, Isolate* iso, Local<Context> ctx) {
Locker locker(iso);
Isolate::Scope isolate_scope(iso);
HandleScope handle_scope(iso);

RtnError rtn = {nullptr, nullptr, nullptr};
Expand Down

0 comments on commit a1f0d99

Please sign in to comment.