autocommit 2022-03-02 14:24:07 CET
This commit is contained in:
parent
0e9afcbfa5
commit
aa0cb94143
30 changed files with 1059 additions and 123 deletions
|
|
@ -128,7 +128,9 @@ impl EventLoop {
|
|||
};
|
||||
if let Some(fd) = entry.fd {
|
||||
if let Err(e) = uapi::epoll_ctl(self.epoll.raw(), c::EPOLL_CTL_DEL, fd, None) {
|
||||
return Err(EventLoopError::RemoveFailed(e.into()));
|
||||
if e.0 != c::ENOENT {
|
||||
return Err(EventLoopError::RemoveFailed(e.into()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue