mirror of
https://github.com/kataras/iris.git
synced 2026-01-05 03:07:38 +00:00
Update to version 8.5.8 | Read HISTORY.md
Former-commit-id: 82128ce7a2896a9a8bafd7a5268b0b42057fc21a
This commit is contained in:
@@ -44,3 +44,10 @@ func (c *Pool) Release(ctx Context) {
|
||||
ctx.EndRequest()
|
||||
c.pool.Put(ctx)
|
||||
}
|
||||
|
||||
// ReleaseLight will just release the object back to the pool, but the
|
||||
// clean method is caller's responsibility now, currently this is only used
|
||||
// on `SPABuilder`.
|
||||
func (c *Pool) ReleaseLight(ctx Context) {
|
||||
c.pool.Put(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user