mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 20:22:20 +08:00
fixed #3404 2022-11-23
This commit is contained in:
parent
3f5b0afa2a
commit
0fd88d12be
@ -182,7 +182,9 @@ func (c *Context) FullPath() string {
|
||||
func (c *Context) Next() {
|
||||
c.index++
|
||||
for c.index < int8(len(c.handlers)) {
|
||||
if nil != c.handlers[c.index] {
|
||||
c.handlers[c.index](c)
|
||||
}
|
||||
c.index++
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user