Skip to content

Commit 2e929a9

Browse files
committed
Merge branch 'develop'
2 parents 2ce6950 + 6046d5d commit 2e929a9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"base_template": "lib/website/templates/base.html",
3-
"framework_version": "3.11.0",
3+
"framework_version": "3.11.1",
44
"modules": {
55
"Calendar": {
66
"color": "#2980b9",

webnotes/app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ def application(request):
6464
except webnotes.SessionStopped, e:
6565
webnotes.local._response = handle_session_stopped()
6666

67+
else:
68+
return webnotes.local._response
69+
6770
finally:
68-
if webnotes.conn:
69-
webnotes.conn.close()
70-
71-
return webnotes.local._response
71+
webnotes.destroy()
7272

7373
application = local_manager.make_middleware(application)
7474

0 commit comments

Comments
 (0)