Skip to content

Commit

Permalink
fix(iot-dev): Fix AMQP layer not releasing a semaphore for method lin…
Browse files Browse the repository at this point in the history
…ks after unsubscribing from methods (#1831)

This semaphore was just never released in this method
  • Loading branch information
timtay-microsoft authored and abhipsaMisra committed Mar 19, 2021
1 parent 5bf08ce commit 2fbd0c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iothub/device/src/Transport/Amqp/AmqpUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ public async Task DisableMethodsAsync(TimeSpan timeout)
finally
{
Logging.Exit(this, timeout, nameof(DisableMethodsAsync));
_methodLinkSemaphore.Release();
}
}

Expand Down

0 comments on commit 2fbd0c8

Please sign in to comment.