Skip to content

Commit

Permalink
Also ignore errors from Waker::wake.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendorff authored and 0xpr03 committed Dec 7, 2021
1 parent 45c2e7c commit 442316e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/inotify.rs
Expand Up @@ -419,9 +419,8 @@ impl EventLoop {

// An error here means the other end of the channel was closed, a thing that can
// happen normally.
let _ = event_loop_tx
.send(EventLoopMsg::RenameTimeout(cookie));
waker.wake().unwrap();
let _ = event_loop_tx.send(EventLoopMsg::RenameTimeout(cookie));
let _ = waker.wake();
});
}
}
Expand Down

0 comments on commit 442316e

Please sign in to comment.