mirror of
https://github.com/gin-gonic/gin.git
synced 2025-08-06 15:50:30 +08:00
Merge branch 'fix_is_aborted_method' of https://github.com/adwinsky/gin
This commit is contained in:
@ -95,7 +95,7 @@ func (c *Context) Next() {
|
||||
|
||||
// Returns if the currect context was aborted.
|
||||
func (c *Context) IsAborted() bool {
|
||||
return c.index == AbortIndex
|
||||
return c.index >= AbortIndex
|
||||
}
|
||||
|
||||
// Stops the system to continue calling the pending handlers in the chain.
|
||||
|
Reference in New Issue
Block a user