Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
fix null set
Browse files Browse the repository at this point in the history
  • Loading branch information
justcoding121 committed Apr 13, 2018
1 parent 180ccf5 commit 8c1a7ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion EventHook/Helpers/AsyncQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ internal async Task<T> DequeueAsync()
dequeueTask = new TaskCompletionSource<bool>();
taskCancellationToken.Register(() => dequeueTask.TrySetCanceled());
await dequeueTask.Task;
dequeueTask = null;

queue.TryDequeue(out result);
return result;
Expand Down

0 comments on commit 8c1a7ee

Please sign in to comment.