Merge branch 'master' into refactor/worker_handle

This commit is contained in:
fakeshadow 2021-04-09 13:22:50 -07:00 committed by GitHub
commit 6036629959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ impl Accept {
}
fn accept(&mut self, sockets: &mut Slab<ServerSocketInfo>, token: usize) {
while !self.backpressure {
loop {
let info = sockets
.get_mut(token)
.expect("ServerSocketInfo is removed from Slab");