cultmesh-rs: the pump's liveness guard is _alive, so test-hooks builds don't warn it is never read
Closes cultlib-gaps:finding:cut-rs-subscribe-members.s4.alive-dead-code-warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1d06c3bdf8
commit
00200222e3
1 changed files with 2 additions and 2 deletions
|
|
@ -257,7 +257,7 @@ impl CultMeshRudpSubscriptionClient {
|
|||
awaiting: Vec::new(),
|
||||
backoff: BTreeMap::new(),
|
||||
#[cfg(feature = "test-hooks")]
|
||||
alive,
|
||||
_alive: alive,
|
||||
subscriptions: BTreeMap::new(),
|
||||
receipts: Vec::new(),
|
||||
epoch: super::fresh_rudp_connection_epoch(),
|
||||
|
|
@ -386,7 +386,7 @@ struct Pump {
|
|||
backoff: BTreeMap<SchemaKey, Instant>,
|
||||
/// Held for as long as the pump thread runs; see `pump_liveness`.
|
||||
#[cfg(feature = "test-hooks")]
|
||||
alive: Arc<()>,
|
||||
_alive: Arc<()>,
|
||||
/// What `resubscribe_all` resends. The assembler owns what is live; it holds no selections.
|
||||
subscriptions: BTreeMap<String, Selection>,
|
||||
receipts: Vec<CultNetRudpReliableSendReceipt>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue