Commit 6a6fe9ad authored by Andreas Zeidler's avatar Andreas Zeidler

forward-port r105078 to trunk

parent fda33974
......@@ -211,8 +211,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