From 6bbd015147dcd207f2709f27d84ee9ab3a3d6e0d Mon Sep 17 00:00:00 2001 From: suyue <1759882753@qq.com> Date: Mon, 11 Nov 2024 20:21:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E4=BC=A0=E5=85=A5=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81=E6=97=B6=E4=B8=8D=E5=BA=94=E8=AF=A5=E8=B0=83?= =?UTF-8?q?=E7=94=A8OnSendable=E7=AB=8B=E5=8D=B3=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: suyue <1759882753@qq.com> --- .../distributeddb/communicator/src/communicator_aggregator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/libs/distributeddb/communicator/src/communicator_aggregator.cpp b/frameworks/libs/distributeddb/communicator/src/communicator_aggregator.cpp index 110680e2f8..7f249de9eb 100644 --- a/frameworks/libs/distributeddb/communicator/src/communicator_aggregator.cpp +++ b/frameworks/libs/distributeddb/communicator/src/communicator_aggregator.cpp @@ -773,9 +773,9 @@ int CommunicatorAggregator::RegCallbackToAdapter() LOGI("[CommAggr] Send able dev=%.3s, softBusErrCode=%d", target.c_str(), softBusErrCode); if (softBusErrCode == E_OK) { (void)IncreaseSendSequenceId(target); + OnSendable(target); } scheduler_.SetSoftBusErrCode(target, softBusErrCode); - OnSendable(target); }, [this]() { RefObject::DecObjRef(this); }); if (errCode != E_OK) { -- Gitee