summaryrefslogtreecommitdiffstats
path: root/examples/tour
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-27 19:43:50 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-27 19:54:58 +0200
commitecd00cf02b23ccafd4427f498507621ebb017be7 (patch)
tree1988f2ec3b0b80569407f70050ba610579ae924d /examples/tour
parent5de337f214530faab1d5fe47784afd7006c3f7f0 (diff)
downloadiced-ecd00cf02b23ccafd4427f498507621ebb017be7.tar.gz
iced-ecd00cf02b23ccafd4427f498507621ebb017be7.tar.bz2
iced-ecd00cf02b23ccafd4427f498507621ebb017be7.zip
Fix `Subscription` cancelation when never awaiting
`StreamExt::forward` will keep polling a ready `Stream` in a loop. If the `Stream` is always ready, the `poll` method of `Forward` effectively blocks (see https://github.com/rust-lang/futures-rs/issues/2552). The fix consists in manually implementing a simpler version of `Forward`.
Diffstat (limited to 'examples/tour')
0 files changed, 0 insertions, 0 deletions