X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/4cfda08117c4288a5408d45db1ef4be82f4facaa..bc4b6ea4290384cd8c380af2a9014f162fd43683:/m17app/src/app.rs 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); } }