File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -256,14 +256,14 @@ void AddEnvironmentCleanupHook(v8::Isolate* isolate,
256256```
257257
258258This function adds a hook that will run before a given Node.js instance shuts
259- down. If necessary, such hooks can be removed using
260- ` RemoveEnvironmentCleanupHook() ` before they are run , which has the same
261- signature. Callbacks are run in last-in first-out order.
259+ down. If necessary, such hooks can be removed before they are run using
260+ ` RemoveEnvironmentCleanupHook() ` , which has the same signature. Callbacks are
261+ run in last-in first-out order.
262262
263263If necessary, there is an additional pair of ` AddEnvironmentCleanupHook() `
264264and ` RemoveEnvironmentCleanupHook() ` overloads, where the cleanup hook takes a
265265callback function. This can be used for shutting down asynchronous resources,
266- for example any libuv handles registered by the addon.
266+ such as any libuv handles registered by the addon.
267267
268268The following ` addon.cc ` uses ` AddEnvironmentCleanupHook ` :
269269
You can’t perform that action at this time.
0 commit comments