File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ template <typename Hook>
138
138
CleanupHook<Hook> AddCleanupHook (Hook hook);
139
139
```
140
140
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
142
142
function of the form `void ()`.
143
143
144
144
Registers `hook` as a function to be run once the current Node.js environment
@@ -156,7 +156,7 @@ template <typename Hook, typename Arg>
156
156
CleanupHook<Hook, Arg> AddCleanupHook(Hook hook, Arg* arg);
157
157
```
158
158
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
160
160
function of the form ` void (Arg* arg) ` .
161
161
- ` [in] arg ` : A pointer to data that will be passed as the argument to ` hook ` .
162
162
You can’t perform that action at this time.
0 commit comments