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 @@ -258,14 +258,14 @@ void AddEnvironmentCleanupHook(v8::Isolate* isolate,
258258```
259259
260260This function adds a hook that will run before a given Node.js instance shuts
261- down. If necessary, such hooks can be removed using
262- ` RemoveEnvironmentCleanupHook() ` before they are run , which has the same
263- signature. Callbacks are run in last-in first-out order.
261+ down. If necessary, such hooks can be removed before they are run using
262+ ` RemoveEnvironmentCleanupHook() ` , which has the same signature. Callbacks are
263+ run in last-in first-out order.
264264
265265If necessary, there is an additional pair of ` AddEnvironmentCleanupHook() `
266266and ` RemoveEnvironmentCleanupHook() ` overloads, where the cleanup hook takes a
267267callback function. This can be used for shutting down asynchronous resources,
268- for example any libuv handles registered by the addon.
268+ such as any libuv handles registered by the addon.
269269
270270The following ` addon.cc ` uses ` AddEnvironmentCleanupHook ` :
271271
You can’t perform that action at this time.
0 commit comments