Skip to content

Commit

Permalink
Proper disposal
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-andersson-at-westermo committed Jun 11, 2024
1 parent 72c5eee commit 2fa2910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public Ietf.Bfd.Ip.Mh.YangNode.MultihopNotification MultihopNotificationCreation
[Benchmark]
public async Task<string> SerializerMultihopNotification()
{
var tmp = new VoidChannel();
await using var tmp = new VoidChannel();
await notification.Send(tmp);
return tmp.LastSent!;
}
Expand Down

0 comments on commit 2fa2910

Please sign in to comment.