diff options
author | Ujjwal Sharma <usharma1998@gmail.com> | 2018-11-07 22:17:09 +0530 |
---|---|---|
committer | Ujjwal Sharma <usharma1998@gmail.com> | 2019-02-19 20:58:37 +0530 |
commit | 5f8ccecaa2e44c4a04db95ccd278a7078c14dd77 (patch) | |
tree | e56a5d9bff97dc73c5898f637d19e78627762529 /src/node_contextify.h | |
parent | d345b0dc128d99afc8476f58ed5546b43d52d30a (diff) | |
download | node-new-5f8ccecaa2e44c4a04db95ccd278a7078c14dd77.tar.gz |
module: revert module._compile to original state if module is patched
PR-URL: https://github.com/nodejs/node/pull/21573
Fixes: https://github.com/nodejs/node/issues/17396
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_contextify.h')
-rw-r--r-- | src/node_contextify.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_contextify.h b/src/node_contextify.h index 631671cbf1..4186e5190f 100644 --- a/src/node_contextify.h +++ b/src/node_contextify.h @@ -61,6 +61,8 @@ class ContextifyContext { const v8::FunctionCallbackInfo<v8::Value>& args); static void WeakCallback( const v8::WeakCallbackInfo<ContextifyContext>& data); + static void WeakCallbackCompileFn( + const v8::WeakCallbackInfo<CompileFnEntry>& data); static void PropertyGetterCallback( v8::Local<v8::Name> property, const v8::PropertyCallbackInfo<v8::Value>& args); |