Skip to content

Commit 40904ee

Browse files
authored
docs(lifecycle-events): add that app.close doesn’t really close
Fix #1997
1 parent 604a3f8 commit 40904ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/fundamentals/lifecycle-events.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,5 @@ class UsersService implements OnApplicationShutdown {
109109
}
110110
}
111111
```
112+
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

0 commit comments

Comments
 (0)