penumbra-zone / tower-abci

Tower-based ABCI interface.
MIT License
75 stars 24 forks source link

Add back the worker receivers pre-conditions #12

Closed tzemanovic closed 2 years ago

tzemanovic commented 2 years ago

Follow-up to #8, which accidentally broke the worker's clean-up.

The pre-conditions are still needed, because once the senders are closed, all recv_option calls will continue to yield None (and the biased selection gets stuck on polling the rx1). The pre-condition stops polling the rx once it's removed.