Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(debounce): clear emit timer interval on stop
PR #296 If not do this there is possible bug, when timer is set (not executed) and stream stopped if timer interval is not cleared it results in infinite emitting (not sure why emitting is looped). I don't have a clean simple repro example, but it happened in my app, had to debug it. Any way seems logical to clear not executed interval on stop, and not to clear is potential wrong.
- Loading branch information