diff --git a/util/network/src/connection.rs b/util/network/src/connection.rs index 22fb845f4..40138a32c 100644 --- a/util/network/src/connection.rs +++ b/util/network/src/connection.rs @@ -158,8 +158,8 @@ impl GenericConnection { } if self.send_queue.is_empty() { self.interest.remove(Ready::writable()); - io.update_registration(self.token)?; } + io.update_registration(self.token)?; Ok(r) }) }