Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Apr 28, 2024
1 parent 069006c commit c6f39a6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions worker/src/RTC/DirectTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,7 @@ namespace RTC
}

void DirectTransport::SendMessage(
RTC::DataConsumer* dataConsumer,
const uint8_t* msg,
size_t len,
uint32_t ppid,
onQueuedCallback* cb)
RTC::DataConsumer* dataConsumer, const uint8_t* msg, size_t len, uint32_t ppid, onQueuedCallback* cb)
{
MS_TRACE();

Expand All @@ -238,7 +234,7 @@ namespace RTC
FBS::Notification::Body::DataConsumer_MessageNotification,
notification);

else if (cb)
if (cb)
{
(*cb)(true, false);
delete cb;
Expand Down

0 comments on commit c6f39a6

Please sign in to comment.