refactor(bluetooth): handle end of device scan stream

This commit is contained in:
Ashley Wulber 2023-02-10 15:06:28 -05:00 committed by Ashley Wulber
parent 7a9ab9de72
commit 02f3e8d76c
2 changed files with 6 additions and 4 deletions

View file

@ -159,6 +159,7 @@ impl Application for CosmicBluetoothApplet {
self.bluer_state = state;
}
BluerEvent::Finished => {
// TODO should this exit with an error causing a restart?
eprintln!("bluetooth subscription finished. exiting...");
std::process::exit(0);
}