Skip to content

Commit

Permalink
Use correct object for locking in subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragemil committed Oct 3, 2023
1 parent a8f03aa commit 2bf4f5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Task<object> WaitForNextNotification(CancellationToken ct = default)

Task<object> GetNextNotificationTask()
{
lock (nextMessageAwaiter)
lock (notificationMutex)
{
return nextMessageAwaiter.Task;
}
Expand Down

0 comments on commit 2bf4f5a

Please sign in to comment.