We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 216add3 commit 1d02ec4Copy full SHA for 1d02ec4
1 file changed
flatrun/src/gui.rs
@@ -131,8 +131,7 @@ impl Application for ProgressInfo {
131
Message::Close => {
132
log::info!("CLOSE REQUESTED!");
133
if let Some(pid) = self.process {
134
- if let Err(e) =
135
- rustix::process::kill_process(pid, rustix::process::Signal::Int)
+ if let Err(e) = rustix::process::kill_process(pid, rustix::process::Signal::Int)
136
{
137
log::error!("Failed to kill process: {:?}", e);
138
Command::none()
@@ -165,7 +164,7 @@ impl Application for ProgressInfo {
165
164
)
166
.await
167
.unwrap();
168
- output.send(Message::Close).await.unwrap();
+ let _ = output.send(Message::Close).await;
169
});
170
}
171
RunApp::Download(appid) => {
0 commit comments