I have an observable, which comes from @Input:
@Input()
public obs$: Observable<any>;
in OnInit I have subscribed to it. But when I unsubscribe it OnDestroy, some HTTP calls remain unfinished. If I doesn't unsubscribe in any place, after second onInit there are 2 subscriptions and some HTTP calls called twice.
How to resolve this problem?? Where and how to unsubscribe??