Merge 34ff4d83116b7643bfa6e0fd38e69f2cc003087b into dcaa4296d111981ffb31ac3eba90bb63e1eb5ab9

This commit is contained in:
smoky 2026-08-15 22:36:20 +08:00 committed by GitHub
commit 66f1a0f881
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,9 +132,8 @@ func (c *Context) Copy() *Context {
cp.handlers = nil
cp.fullPath = c.fullPath
cKeys := c.Keys
c.mu.RLock()
cp.Keys = maps.Clone(cKeys)
cp.Keys = maps.Clone(c.Keys)
c.mu.RUnlock()
cParams := c.Params