fix: add CONNECTED static variable for connection state management

This commit is contained in:
MayaTheShy
2025-11-08 14:46:09 -05:00
parent 9114cab274
commit cc7d3383e6

View File

@@ -76,6 +76,7 @@ impl Reify for BridgeState {
}
static STARTED: AtomicBool = AtomicBool::new(false);
static CONNECTED: AtomicBool = AtomicBool::new(false);
lazy_static::lazy_static! {
static ref CTRL: Mutex<Ctrl> = Mutex::new(Ctrl::default());
}