-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeahead subscription #2382
Comments
or like here ngx-bootstrap/src/dropdown/bs-dropdown-toggle.directive.ts Lines 50 to 62 in 31cba41
anyway, you are right and this is |
krooshua
added a commit
to krooshua/ngx-bootstrap
that referenced
this issue
Aug 24, 2017
valor-software#2382 Also fixed bug, when navigating to other router before asyncActions() end.
Thanks! |
valorkin
pushed a commit
that referenced
this issue
Aug 29, 2017
#2382 Also fixed bug, when navigating to other router before asyncActions() end.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just stumbled upon some question when thinking about any possible memory leak in my application:
Since the typeahead
Observable
is provided we never get a chance to unsubscribe from it as the subscription happens inside the directive code, should we need to worry about this?I implemented my own solution and so far it seems that no negative secondary effects were caused:
and inside
ngOnDestroy
:The text was updated successfully, but these errors were encountered: