def process_response(self, request, response):
        try:
            if request.stop_editing and not request.continue_editing:
                request.session["editing"] = None
        except __HOLE__ as e:
            pass
        return response
dataset/ETHPy150Open lsaffre/lino/lino/utils/editing.py/EditingMiddleware.process_response