Skip to content

Commit 6b5aac4

Browse files
Merge pull request #1354 from bmitchinson/patch-1
Fix broken ref to anchor link in lifecycle events
2 parents f1c4a90 + 150ff44 commit 6b5aac4

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
@@ -22,7 +22,7 @@ In the following table, `onModuleDestroy`, `beforeApplicationShutdown` and `onAp
2222
| `beforeApplicationShutdown()`\* | Called after all `onModuleDestroy()` handlers have completed (Promises resolved or rejected);<br />once complete (Promises resolved or rejected), all existing connections will be closed (`app.close()` called). |
2323
| `onApplicationShutdown()`\* | Called after connections close (`app.close()` resolves. |
2424

25-
\* For these events, if you're not calling `app.close()` explicitly, you must opt-in to make them work with system signals such as `SIGTERM`. See [Application shutdown](#application-shutdown) below.
25+
\* For these events, if you're not calling `app.close()` explicitly, you must opt-in to make them work with system signals such as `SIGTERM`. See [Application shutdown](fundamentals/lifecycle-events#application-shutdown) below.
2626

2727
> warning **Warning** The lifecycle hooks listed above are not triggered for **request-scoped** classes. Request-scoped classes are not tied to the application lifecycle and their lifespan is unpredictable. They are exclusively created for each request and automatically garbage-collected after the response is sent.
2828

0 commit comments

Comments
 (0)