Closed srijs closed 6 years ago
Upon further digging, if I replace
loop {
core.turn(None);
}
with
core.run(futures::future::empty::<(), ()>()).unwrap();
the program works as expected.
Hope that helps!
Thanks for the report. The simple repro case was very helpful.
I pushed #312 with a fix. Could you check against Rusoto to see if it fixes it?
Tested the fix, the issue I reported against Rusoto no longer occurs with the fix applied.
Hi!
It appears that the new versions of
tokio-core
based ontokio
(tokio_core
>= 0.1.13) have broken Rusoto (https://github.com/rusoto/rusoto/issues/1000).I was able to reduce it to a simple example program that works correctly with
tokio_core
0.1.12 (tokio_io
0.1.5), but breaks withtokio_core
0.1.13 or 0.1.14.Here is the program:
The expected behaviour of the program is to print the following and then exit:
However, using
tokio_core
0.1.13 or 0.1.14, the output is the following, and it never exits:Superficially it looks like the closure passed to
remote.spawn
is never executed.