Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

How to unsubscribe datasource to prevent memory leak #2

Open
zack9433 opened this issue Sep 6, 2018 · 1 comment
Open

How to unsubscribe datasource to prevent memory leak #2

zack9433 opened this issue Sep 6, 2018 · 1 comment

Comments

@zack9433
Copy link

zack9433 commented Sep 6, 2018

https://github.com/angular-university/angular-ngrx-course/blob/86459ae0612a4848b6a60030b06af6f7e0e0f109/src/app/courses/services/lessons.datasource.ts#L38

when to unsubscribe this observable?

@twindual
Copy link

twindual commented Aug 8, 2019

Hi Zack, this article may help explain a bit more in depth about unsubscribing from observables.

https://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants