When we do subject$.complete() this subject$ is deleted from memory? #7044
Unanswered
guillermomf2001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, hi people 👋🏼
I'm learning about rxjs library and observables and I have a question that no one around me know how to answer it. I have tried to find the answer in the docs and here in discussions but I haven't found either. So I hope any of you can give me a answer.
When we do
subject$.complete()
, this subject$ is deleted from memory?For example, in this code:
subject$ is deleted from memory when we do
subject.complete()
or we need to executesubject.unsubscribe()
after that to delete it.Beta Was this translation helpful? Give feedback.
All reactions