diff --git a/libnode/patch/node/src/node_embedding_api.cc b/libnode/patch/node/src/node_embedding_api.cc index a23d3de..6e73705 100644 --- a/libnode/patch/node/src/node_embedding_api.cc +++ b/libnode/patch/node/src/node_embedding_api.cc @@ -93,7 +93,7 @@ namespace { result.exit_code = 1; } else { - int evtloop_ret = node::SpinEventLoop(env).FromMaybe(1); + int evtloop_ret = node::SpinEventLoop(env).FromMaybe(0); if (result.exit_code == 0) { result.exit_code = evtloop_ret; }