Skip to content

Commit 4569f9f

Browse files
author
Bob Watson
committed
docs: clarify use of unsubscribe with HttpClient
fix: #46542
1 parent 5509e35 commit 4569f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/guide/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ This is true for *all* `HttpClient` *methods*.
120120

121121
<div class="alert is-helpful">
122122

123-
The [`AsyncPipe`](api/common/AsyncPipe) subscribes and unsubscribes for you automatically.
123+
You should always unsubscribe from an observable when a component is destroyed.
124124

125125
</div>
126126

0 commit comments

Comments
 (0)