diff --git a/doc/api/addons.md b/doc/api/addons.md index 3dacf88064..1187eafdc3 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1019,7 +1019,7 @@ console.log(result); // 30 ### AtExit hooks An "AtExit" hook is a function that is invoked after the Node.js event loop -has ended by before the JavaScript VM is terminated and Node.js shuts down. +has ended but before the JavaScript VM is terminated and Node.js shuts down. "AtExit" hooks are registered using the `node::AtExit` API. #### void AtExit(callback, args)