0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-27 08:04:41 +01:00
zeripath b3c2e23cbb
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>
2021-02-13 20:02:09 +01:00
..
2021-01-28 19:08:11 +01:00
2021-02-11 18:32:25 +01:00
2021-01-06 09:38:00 +08:00
2020-10-02 23:37:53 -04:00
2021-01-26 16:36:53 +01:00
2020-10-26 12:42:27 -04:00
2021-02-03 22:36:38 +01:00
2020-10-02 23:37:53 -04:00
2020-10-25 17:19:06 +00:00
2021-02-14 00:07:17 +08:00
2021-02-05 22:41:45 +01:00
2021-01-26 16:36:53 +01:00