chore: avoid boxing allocations
This commit is contained in:
parent
db155a87c0
commit
fb5097ac71
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public interface IPacketHandler<in T> : IPacketHandler where T : IPacket
|
|||
using (var activity = new ActivitySource(nameof(Server)).StartActivity("HandleAsync"))
|
||||
{
|
||||
activity?.SetTag("Handler", this.ToString());
|
||||
activity?.SetTag("PacketId", tPacket.ToString());
|
||||
activity?.SetTag("PacketId", packet.ToString());
|
||||
await HandleAsync(tPacket, session);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue