Skip to content

Commit

Permalink
update patch for v10.15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
prepare committed May 18, 2019
1 parent 0d3d1b6 commit a3fd638
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions node_patches/node10.15.3_modified/src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ typedef int mode_t;
//#espresso ,#1
#include "../src/libespresso/bridge2.h"
void DoEngineSetupCallback(JsEngine* engine, JsContext* jsContext);
void DoEngineClosingCallback(JsEngine* engine,
JsContext* jsContext,
int exitCode);
//////////////////////////////////

namespace node {
Expand Down Expand Up @@ -2905,6 +2908,11 @@ inline int Start(Isolate* isolate, IsolateData* isolate_data,

const int exit_code = EmitExit(&env);

////////////////////////////////
//#espresso ,#3
DoEngineClosingCallback(jsEngine, jscontext, exit_code);
////////////////////////////////

WaitForInspectorDisconnect(&env);

env.set_can_call_into_js(false);
Expand Down

0 comments on commit a3fd638

Please sign in to comment.