-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsubscribed buffer continues producing #559
Comments
Indeed, here's something wrong. This snippet val obs = Observable.never
val bObs = obs.buffer(200 millis, 100 millis)
val subs = bObs.subscribe(x => println(x))
println("subscribed")
Thread.sleep(1000)
println("unsubscribed")
Thread.sleep(2000) outputs
which is wrong: After unsubscribe, there should be no more Buffers. I think the problem is that on this line, the returned subscription will not call the |
You're forgetting the
|
@pjan LOL yes you're right ;-) |
Same thing happening with me! :) The subscription continues to run, but receiving empty buffers, after using unsubscribe. |
Fixed in #596 |
… @FeignClient (ReactiveX#579)
version 0.15.1
I don't know whether this is expected behaviour, but I believe it isn't since it's verry counterintuitive to me.
e.g., in the scala repl
Eventually, the subscribtion/bObs continues producing empty Buffers (outputting them in the repl), whereas I would expect this to stop...
The text was updated successfully, but these errors were encountered: