Skip to content

Commit 1d02ec4

Browse files
committed
Update gui.rs
1 parent 216add3 commit 1d02ec4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

flatrun/src/gui.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ impl Application for ProgressInfo {
131131
Message::Close => {
132132
log::info!("CLOSE REQUESTED!");
133133
if let Some(pid) = self.process {
134-
if let Err(e) =
135-
rustix::process::kill_process(pid, rustix::process::Signal::Int)
134+
if let Err(e) = rustix::process::kill_process(pid, rustix::process::Signal::Int)
136135
{
137136
log::error!("Failed to kill process: {:?}", e);
138137
Command::none()
@@ -165,7 +164,7 @@ impl Application for ProgressInfo {
165164
)
166165
.await
167166
.unwrap();
168-
output.send(Message::Close).await.unwrap();
167+
let _ = output.send(Message::Close).await;
169168
});
170169
}
171170
RunApp::Download(appid) => {

0 commit comments

Comments
 (0)