Skip to content

Commit

Permalink
Modify
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Nov 29, 2024
1 parent ea3ce66 commit 88a5ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ impl PlatformInterface for Platform {

fn install_signal_handler<T: Fn(Signal) + Send + 'static>(handler: T) -> RunResult<'static> {
thread::spawn(move || {
// todo: handle errors?
for signal in Signals::new().unwrap() {
// todo: handle error?
handler(signal.unwrap());
}
});
Expand Down

0 comments on commit 88a5ff9

Please sign in to comment.