mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 18:00:54 +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) Finish() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *Controller) Destructor() {
|
||||||
if c.CruSession != nil {
|
if c.CruSession != nil {
|
||||||
c.CruSession.SessionRelease()
|
c.CruSession.SessionRelease()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user