fix?: does dropping on error count as fixing the issue
This commit is contained in:
parent
480195671f
commit
3411c0e4a0
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,10 @@ fn main() {
|
|||
//panic!();
|
||||
//continue;
|
||||
}
|
||||
_ => println!("A socket errored: {}", error.to_string()),
|
||||
_ => {
|
||||
println!("A socket errored: {}", error.to_string());
|
||||
sockets.remove(i);
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue