diff options
author | satotake <doublequotation@gmail.com> | 2021-05-23 11:42:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 11:42:01 +0300 |
commit | 785a31b5b84643f4769f9bd363599cbcce86f098 (patch) | |
tree | 06faf195e70dab43a035235173bc173aa5567735 /goreleaser.yml | |
parent | bc1e05286a96d08ad02ad200d6a4076bb01c486e (diff) |
navigation: Cache and copy Menu for sorting
.Site.Menus is mutated when it is sorted for now and this causes concurrency problem (#7594)
In this patch, each related sort function copies Menu before sorting to prevent
race condition.
Pages already have such a sort and cache logic and this patch is identical to it.
Closes #7594
Diffstat (limited to 'goreleaser.yml')
0 files changed, 0 insertions, 0 deletions