Skip to content

Commit

Permalink
using
Browse files Browse the repository at this point in the history
  • Loading branch information
mookid8000 committed Apr 10, 2024
1 parent 81558ef commit da961be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Rebus.Tests/Routing/TestDefaultReturnAddress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Rebus.Tests.Contracts;
using Rebus.Tests.Contracts.Extensions;
using Rebus.Transport.InMem;
// ReSharper disable AccessToDisposedClosure
#pragma warning disable 1998

namespace Rebus.Tests.Routing;
Expand All @@ -32,7 +33,8 @@ public async Task AssignsDefaultReturnAddressOnSentMessage()
var receiver = Using(new BuiltinHandlerActivator());

var returnAddress = "";
var done = new ManualResetEvent(false);

using var done = new ManualResetEvent(false);

receiver.Handle<string>(async (bus, context, message) =>
{
Expand Down
1 change: 0 additions & 1 deletion Rebus/Retry/Simple/DefaultRetryStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Rebus.Bus;
using Rebus.Exceptions;
using Rebus.Extensions;
using Rebus.Logging;
Expand Down

0 comments on commit da961be

Please sign in to comment.