Commit 24b548c5 authored by Andreas Zeidler's avatar Andreas Zeidler

back-port r105078 to 2.11

parent 28506a54
......@@ -208,8 +208,10 @@ class BaseRequest:
self._held=None
def close(self):
self.clear()
notify(EndRequestEvent(None, self))
# subscribers might need the zodb, so `clear` must come afterwards
# (since `self._held=None` might close the connection, see above)
self.clear()
def processInputs(self):
"""Do any input processing that could raise errors
......
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