mirror of https://github.com/go-gitea/gitea
Prevent race in PersistableChannelUniqueQueue.Has (#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 #14311 Signed-off-by: Andrew Thornton <art27@cantab.net>pull/14646/head^2
parent
5e4fa7c703
commit
b3c2e23cbb
Loading…
Reference in new issue