no need to loop twice

This commit is contained in:
J. Nick Koston
2025-05-13 23:48:48 -05:00
parent b3911ef37c
commit 2f078d4edf

View File

@@ -153,7 +153,7 @@ void APIConnection::loop() {
return;
}
if (this->try_to_clear_buffer(true)) {
if (this->helper_->can_write_without_blocking()) {
this->deferred_message_queue_.process_queue();
}