fix frappe.destroy in app.py

This commit is contained in:
Pratik Vyas 2014-03-11 11:28:56 +05:30
parent 77cf148a08
commit cc64d7a224

View file

@ -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