Commit 131e99ba by Sebastian Wozny

backport of #2492 from tomchristie ref #1850: _closable_objects as an…

parent 647fdb51
......@@ -91,4 +91,5 @@ class Response(SimpleTemplateResponse):
for key in ('accepted_renderer', 'renderer_context', 'data'):
if key in state:
del state[key]
state['_closable_objects'] = []
return state
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment