mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
logger loop must never exit, handle exit message with panic
This commit is contained in:
parent
0f1cae49f0
commit
f12996a1ab
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ impl Output {
|
|||
loop {
|
||||
match self.rx.recv_timeout(std::time::Duration::from_millis(50)) {
|
||||
Ok(msg) => match msg {
|
||||
ControlMessage::Exit => break,
|
||||
ControlMessage::Exit => panic!("Logger exit reached"),
|
||||
ControlMessage::Text(s) => print!("{}", s),
|
||||
ControlMessage::Byte(s) => {
|
||||
let mut handle = self.stdout.lock();
|
||||
|
|
|
|||
Loading…
Reference in a new issue