Skip to content

Instantly share code, notes, and snippets.

@wKoza wKoza/unsubscribe.ts Secret
Created Jan 8, 2017

Embed
What would you like to do?
this.subscriber = observable.subscribe(observer);
ngOnDestroy():void {
this.subscriber.unsubscribe();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.