I would just use ngneat/until-destroy
, but I think what’s wrong with your current situation is that ngUnsubscribe
is treated as if it were reusable, but it isn’t. Once you call complete
on a a Subject
, it’s burned. It can no longer emit anything. So if you want to keep your homebrew solution, you need to instantiate the subject in ionViewWillEnter
, not at the point of declaration.