refactor(bluetooth): handle end of device scan stream
This commit is contained in:
parent
7a9ab9de72
commit
02f3e8d76c
2 changed files with 6 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue