Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent race in PersistableChannelUniqueQueue.Has (go-gitea#14651)
Backport go-gitea#14651 There is potentially a race with a slow starting internal queue causing a NPE if Has is checked before the internal queue has been setup. This PR adds a lock on the Has() fn. Fix go-gitea#14311 Signed-off-by: Andrew Thornton <art27@cantab.net>
- Loading branch information