Skip to content

2.x: fix timer() ISE due to bad resource mgmt#4927

Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:TimerDisposableFix
Dec 20, 2016
Merged

2.x: fix timer() ISE due to bad resource mgmt#4927
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:TimerDisposableFix

Conversation

@akarnokd
Copy link
Member

Both Observable.timer() and Flowable.timer() could report IllegalStateException because if the delayed task completed before the task's Disposable was set, the setOnce found a non-null, non-terminal reference already set.

Related: #4926.

@akarnokd akarnokd added this to the 2.0 backlog milestone Dec 19, 2016
@codecov-io
Copy link

codecov-io commented Dec 19, 2016

Current coverage is 95.55% (diff: 100%)

Merging #4927 into 2.x will decrease coverage by 0.13%

@@                2.x      #4927   diff @@
==========================================
  Files           586        586          
  Lines         37446      37452     +6   
  Methods           0          0          
  Messages          0          0          
  Branches       5625       5627     +2   
==========================================
- Hits          35829      35786    -43   
- Misses          674        712    +38   
- Partials        943        954    +11   

Powered by Codecov. Last update 7d47932...68a0d8a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants