From d10448fcee580bd6d7529632099f8666d76a8987 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 5 Mar 2024 21:44:50 +0000 Subject: [PATCH] Add hilariously forgotten word Async in SendAsync. --- p2p/source/channel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2p/source/channel.cpp b/p2p/source/channel.cpp index 566403646..b9eb8fa78 100644 --- a/p2p/source/channel.cpp +++ b/p2p/source/channel.cpp @@ -161,7 +161,8 @@ task Channel::Send(const Buffer &data) { orc_assert(channel_ != nullptr); if (channel_->buffered_amount() == 0) - channel_->Send({buffer, true}); + // XXX: consider blocking this fiber on this error result? + channel_->SendAsync({buffer, true}, [](webrtc::RTCError){}); co_return; }