Closed frederikaalund closed 8 years ago
Just tested the develop branch. The issue is there too.
I noticed that the Observable.interval
normally outputs 0, 1, 2, 3, ... but with the AsyncIOScheduler, it outputs 0, 0, 0, 0, ...
I think I've found the bug. Creating a fix soon ...
Ah, excellent. I had a pull request on the way (see this commit) but I much prefer a fix from the original author. Cheers!
Edit: I think this bug might also apply to some of the other mainloopschedulers.
Yes, you are right, and thanks a lot for reporting these issues. It also uncovered a different problem. We also have to check that scheduled actions returns disposables before using the return value as a disposable. Usually an action returns None, so it's not a problem. I'll make some more fixes later.
You're welcome. Cheers for the timely replies and fixes! I will test the latter tomorrow.
Just tested b2836e7 and it completely solves the issue. Cheers!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
The following program illustrates the problem:
I would expect the above to exit normally. However, I get the following error message instead:
Python 3.5.1 and RxPY master branch (where I have applied the fix for issue #90).