fix frappe.destroy in app.py
This commit is contained in:
parent
77cf148a08
commit
cc64d7a224
1 changed files with 1 additions and 2 deletions
|
|
@ -76,8 +76,7 @@ def application(request):
|
|||
frappe.local._response = handle_session_stopped()
|
||||
|
||||
finally:
|
||||
if frappe.db:
|
||||
frappe.db.close()
|
||||
frappe.destroy()
|
||||
|
||||
return frappe.local._response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue