Skip to content

Commit 6034169

Browse files
Update content/fundamentals/lifecycle-events.md
1 parent 40904ee commit 6034169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/fundamentals/lifecycle-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ class UsersService implements OnApplicationShutdown {
110110
}
111111
```
112112

113-
> info **Info** Calling `app.close()` doesn't terminate the process but rather clean all resources which let it close by itself, so if there are some intervals, handlers and more that are still running the application will not close
113+
> info **Info** Calling `app.close()` doesn't terminate the Node process but only triggers the `onModuleDestroy()` and `onApplicationShutdown()` hooks, so if there are some intervals, long-running background tasks, etc. the process won't be automatically terminated.

0 commit comments

Comments
 (0)