pyro: remove db Session when callback finishes to avoid leaving
hanging connections
This commit is contained in:
parent
e6833d2fd8
commit
8c01d385c8
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ class Hooks(object):
|
|||
}
|
||||
finally:
|
||||
pylons.url._pop_object()
|
||||
meta.Session.remove()
|
||||
|
||||
return {
|
||||
'status': result.status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue