Skip to content

Commit

Permalink
fix(MulticastService): shutdown race condition #55
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Apr 24, 2019
1 parent a53d99d commit 2c7f812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MulticastService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void Send(Message msg, bool checkDuplicate)
return;
}

client.SendAsync(packet).GetAwaiter().GetResult();
client?.SendAsync(packet).GetAwaiter().GetResult();
}

/// <summary>
Expand Down

0 comments on commit 2c7f812

Please sign in to comment.