Paolo Bonzini 1cbd5b2ca6 flatten: avoid early completion
The flatten operator currently calls onCompleted as soon as the
parent signals that it has completed.  However, there could be
more data incoming from the returned observables; in fact, the
flattened observable might even be infinite.

Track how many subscriptions are still active, and only call
onCompleted at the time of the last completion.
2020-01-14 17:24:33 +01:00
..
2015-10-27 19:56:12 -07:00
2015-11-10 20:19:01 -08:00
2015-11-12 19:08:48 -08:00
2020-01-14 17:24:33 +01:00
2020-01-14 17:24:33 +01:00
2019-10-20 14:43:33 -07:00
2016-10-15 10:31:23 -07:00
2015-11-12 19:27:22 -08:00
2015-11-05 19:19:32 -08:00
2019-10-20 14:43:33 -07:00
2015-11-12 18:51:04 -08:00
2015-10-27 19:35:57 -07:00