mirror of
https://github.com/go-gitea/gitea
synced 2025-01-09 17:24:43 +00:00
b3c2e23cbb
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>