feat: release 3.0.4 with background connections and service startup improvements

This commit is contained in:
Kevin Yue committed 2026-10-12 23:53:21 +08:00
1 parent 57322e3cf3
commit ff1ea259d9
42 files changed
+1040 -584

No files matched your search

+7
View File
@@ -46,6 +46,7 @@ pub(crate) struct ConnectHandler<'a> {
auth_recovery: RefCell<gpapi::process::rendering_recovery::RecoveryState>,
sessions: RefCell<GatewaySessions>,
pid_written: Arc<AtomicBool>,
background: Option<crate::background::BackgroundWorker>,
}
impl<'a> ConnectHandler<'a> {
@@ -71,9 +72,15 @@ impl<'a> ConnectHandler<'a> {
auth_recovery: RefCell::default(),
sessions: RefCell::default(),
pid_written: Arc::default(),
background: None,
}
}
pub(crate) fn with_background(mut self, background: Option<crate::background::BackgroundWorker>) -> Self {
self.background = background;
self
}
fn build_gp_params(&self) -> GpParams {
let mut builder = GpParams::builder(self.os_profile.borrow().clone());
builder