Skip to content

fix(cbus): now oneshot channel contains a weak ref on `oneshot::Channel`...

Konstantin D requested to merge fix/cbus-oneshot-segv into master

Summary

  • fix(cbus): now Waker::wake in unbounded channel may return by timeout, this fix race condition when disconnected set too true (by Sender drop) after it was checked on receiver side.

  • fix(cbus): now oneshot channel contains a weak ref on oneshot::Channel struct. This is done to make sure that the destruction of the cond variable occurs on the TX thread side. Fix of #158 (closed).

Ensure that

  • New code is covered by tests
  • API is documented
  • Changelog is up to date
  • Version is bumped in the appropriate Cargo.toml files
Edited by Konstantin D

Merge request reports