mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 17:40:18 +00:00
make fix
This commit is contained in:
@ -529,7 +529,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
||||
// session init
|
||||
if SessionOn {
|
||||
context.Input.CruSession = GlobalSessions.SessionStart(w, r)
|
||||
defer context.Input.CruSession.SessionRelease()
|
||||
defer context.Input.CruSession.SessionRelease(w)
|
||||
}
|
||||
|
||||
if !utils.InSlice(strings.ToLower(r.Method), HTTPMETHOD) {
|
||||
|
Reference in New Issue
Block a user