fix: add CONNECTED static variable for connection state management

This commit is contained in:
MayaTheShy
2025-11-08 14:46:09 -05:00
parent eb3d522fd1
commit 362e487349

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());
}