File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ template <typename Hook>
138138CleanupHook<Hook> AddCleanupHook (Hook hook);
139139```
140140
141- - `[in] hook`: A function to call when the environment exists . Accepts a
141+ - `[in] hook`: A function to call when the environment exits . Accepts a
142142 function of the form `void ()`.
143143
144144Registers `hook` as a function to be run once the current Node.js environment
@@ -156,7 +156,7 @@ template <typename Hook, typename Arg>
156156CleanupHook<Hook, Arg> AddCleanupHook(Hook hook, Arg* arg);
157157```
158158
159- - ` [in] hook ` : A function to call when the environment exists . Accepts a
159+ - ` [in] hook ` : A function to call when the environment exits . Accepts a
160160 function of the form ` void (Arg* arg) ` .
161161- ` [in] arg ` : A pointer to data that will be passed as the argument to ` hook ` .
162162
You can’t perform that action at this time.
0 commit comments