Skip to content

Commit

Permalink
Remove deinitialize code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Feb 26, 2018
1 parent 35ff063 commit 1e9c2f7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4741,8 +4741,6 @@ int Initialize(int argc, const char** argv, const bool allow_repl) {

auto exit_code = initialize::_CreateIsolate();
if (exit_code != 0) {
deinitialize::_DeinitV8();
deinitialize::_DeleteCmdArgs();
return exit_code;
}

Expand All @@ -4754,12 +4752,6 @@ int Initialize(int argc, const char** argv, const bool allow_repl) {

exit_code = initialize::_StartEnv(argc, argv, exec_argc, exec_argv, allow_repl);
if (exit_code != 0) {
deinitialize::_StopEnv();
deinitialize::_DeleteIsolate();
deinitialize::_DeinitV8();
// TODO(js): Do we need to tear down OpenSsl?
deinitialize::_DeleteCmdArgs();

return exit_code;
}

Expand Down

0 comments on commit 1e9c2f7

Please sign in to comment.