RxLua icon indicating copy to clipboard operation
RxLua copied to clipboard

Minimal fix for issue #22

Open bonzini opened this issue 5 years ago • 1 comments

This is a minimal fix for the subscription leak in #22. I simply went through all operators and ensured that before every onCompleted the subscription is dropped.

I also found a memory leak in the Subscription class. I am fixing it in this pull request since it is mostly visible with operators that complete before their underlying stream.

bonzini avatar Jun 13 '20 10:06 bonzini

Hello, I don't want to send spam but since this is directly related I'll just leave a link to my comment in another issue: https://github.com/bjornbytes/RxLua/issues/22#issuecomment-711093395

4O4 avatar Oct 17 '20 23:10 4O4