mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2025-01-04 16:29:07 +00:00
bugfix: release br connection lock
Signed-off-by: songzhengteng <songzhengteng@huawei.com>
This commit is contained in:
parent
39f927068c
commit
7e15388fa0
@ -513,6 +513,7 @@ int32_t GetAndRemovePendingRequestByConnId(uint32_t connId, ListNode *pendings)
|
||||
}
|
||||
|
||||
if (target == NULL) {
|
||||
(void)pthread_mutex_unlock(&g_connectionLock);
|
||||
SoftBusLog(SOFTBUS_LOG_CONN, SOFTBUS_LOG_WARN, "get pending request failed, there is no %u conneciton", connId);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user