Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous commit introduced a new race condition. It was possible that…
… thread A could invoke `TaskQueue.Dispose()` and set `_isDisposed = 1`, which would then allow thread B to finish work setting `_held = false` but without releasing the semaphore, and then thread A would attempt `_semaphore.Wait()` entering a deadlock.
- Loading branch information