async_channel with tokio feature can deadlock
When activating the tokio
feature of zbus
, I am seeing frequent deadlocks (around 10% of the time). The source appears to be the mutex used to make a tokio mpsc channel mpmc here:
https://gitlab.freedesktop.org/dbus/zbus/-/blob/main/zbus/src/abstractions/async_channel.rs#L48
Removing the tokio feature from my dependent crate eliminates the deadlocks.
Edited by Joe Grund