This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Do I need to call dispose on directive $destroy event? #133
Comments
erceth
changed the title
Do I need to cal dispose on directive $destroy event?
Do I need to call dispose on directive $destroy event?
Feb 5, 2016
User error.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a situation where I have multiple directives that subscribe to a stream from a service. If a directive is destroyed do I need to unsubscribe from the stream so I don't have zombie listeners? Or does it get garbage collected. If I need to unsubscribe how do I do it? newZoneStream.dispose(); is undefined.
The text was updated successfully, but these errors were encountered: