Skip to content

Commit

Permalink
Return completed task.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 18, 2021
1 parent de0a8d3 commit e06a743
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Desktop.Core/Services/WebRtcSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public async Task Init(IceServerModel[] iceServers)

public Task SendDto<T>(T dto) where T : BaseDto
{
return Task.Run(() => CaptureChannel.send(MessagePackSerializer.Serialize(dto)));
CaptureChannel.send(MessagePackSerializer.Serialize(dto));
return Task.CompletedTask;
}

public Task SetRemoteDescription(string type, string sdp)
Expand Down

0 comments on commit e06a743

Please sign in to comment.