mirror of
https://github.com/gin-gonic/gin.git
synced 2026-09-11 20:26:07 +08:00
Merge 34ff4d83116b7643bfa6e0fd38e69f2cc003087b into 34dac209ffb6ef85cc78c5d217bbb7ad001d68fd
This commit is contained in:
commit
3dd90668e0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user