def call_on_close(self, func):
        self._on_close.append(func)
        return func
Adds a function to the internal list of functions that should
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/wrappers.py/BaseResponse.call_on_close