X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/4cfda08117c4288a5408d45db1ef4be82f4facaa..bb98d1726f35a41236b66bcf9fa0a8fa36633342:/m17app/src/app.rs?ds=inline diff --git a/m17app/src/app.rs b/m17app/src/app.rs index 561a2b7..b142663 100644 --- a/m17app/src/app.rs +++ b/m17app/src/app.rs @@ -72,6 +72,8 @@ impl M17App { } pub fn close(&self) { + // TODO: blocking function to indicate TNC has finished closing + // then we could call this in a signal handler to ensure PTT is dropped before quit let _ = self.event_tx.send(TncControlEvent::Close); } }