mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 11:50:55 +00:00
add Destructor func
This commit is contained in:
parent
d2e0960b8e
commit
ce77c273cf
@ -59,6 +59,10 @@ func (c *Controller) Prepare() {
|
||||
}
|
||||
|
||||
func (c *Controller) Finish() {
|
||||
|
||||
}
|
||||
|
||||
func (c *Controller) Destructor() {
|
||||
if c.CruSession != nil {
|
||||
c.CruSession.SessionRelease()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user