Seems at some point we've started to leak ConnectionInner, most likely through some cyclic Arc references. You can see the leak through applying this patch:
and running cargo t basic_iface -- --nocapture (it won't print anything).
While my PR (!377) avoids more cyclic refs, it unfortunately doesn't address this issue fully. However, I've a feeling that the new internal WeakConnection API !377 adds, will be helpful in solving this regression.
Seems at some point we've started to leak
ConnectionInner
, most likely through some cyclic Arc references. You can see the leak through applying this patch:and running
cargo t basic_iface -- --nocapture
(it won't print anything).While my PR (!377) avoids more cyclic refs, it unfortunately doesn't address this issue fully. However, I've a feeling that the new internal
WeakConnection
API !377 adds, will be helpful in solving this regression.