SolraBizna / liso

Line input with simultaneous output, for Rust.
Apache License 2.0
9 stars 2 forks source link

InputOutput cannot be dropped within a tokio runtime #3

Closed SolraBizna closed 1 year ago

SolraBizna commented 1 year ago

The issue arises because InputOutput's Drop implementation calls blocking_recv on a Tokio-flavored MPSC channel, and this method has a special error message for when you try to do this. There are several possible workarounds, which should be investigated.

SolraBizna commented 1 year ago

Should be fixed by 934adca.