Fix updates not being applied

This commit is contained in:
Julian Chang 2026-07-19 07:32:48 +09:00
parent 5b11415aae
commit 0317e3cd8b
No known key found for this signature in database

View file

@ -22,7 +22,6 @@ use oneclient_core::notification::LaunchStage;
pub struct CoreBridgeRuntime {
pub snapshots_tx: watch::Sender<BridgeSnapshot>,
pub commands_rx: mpsc::UnboundedReceiver<BridgeCommand>,
#[allow(dead_code)]
pub commands_tx: mpsc::UnboundedSender<BridgeCommand>,
}
@ -65,6 +64,10 @@ impl CoreBridgeRuntime {
&pending_prompt,
);
publish(&self.snapshots_tx, &snapshots);
if let Err(err) = self.commands_tx.send(BridgeCommand::SyncBundles) {
tracing::error!("failed to queue startup bundle sync: {err}");
}
}
loop {