rxjs
rxjs copied to clipboard
fix(zip): handle when unsubscribe is called from within next
Description:
This PR makes sure the error reported here (#6716) doesn't get thrown anymore.
BREAKING CHANGE: There are no breaking changes.
Related issue (if exists): #6716
I've added a test case which covers the bug but I wasn't sure if there might be a better way to test this. Please let me know if I need to change anything.
Sorry for tagging you @benlesh. I know it sucks. But given that this PR already had it's first anniversary and I rebased it a couple of times I hope it's okay. I would really appreciate if you could take a look. The PR only adds a single character and a test.
Many thanks in advance.