Closed marcus13371337 closed 4 years ago
Hey @marcus13371337, thanks for the detailed report and example. I just opened a candidate fix in https://github.com/cujojs/most/pull/535. Feel free to try that branch to see if it solves the issue for you.
@marcus13371337 We published 1.8.1 with the fix.
Thanks @briancavalier and thanks @marcus13371337 for the report
@briancavalier the changelog in the releases on github hasn't been updated since 1.7.2 What changed in 1.8.0?
Thank you so much!
Summary
Creating a stream with
fromPromise
and then unsubscribing to it, most will execute the sequential steps even though the stream should be disposedAs example:
Expected result
console.log('Finished')
Actual Result
console.log('Finished')
console.log('1')
Versions
Seems to have been introduced when the following refactor was done: https://gist.github.com/briancavalier/a27ddc247dd118ae5508
Steps to reproduce
See above
Code to reproduce