def on_teardown(self, app, task=None):
    for session, options in self._sessions.values():
      self._teardown_handler(session, app, options)
Callback on request / task teardown.
dataset/ETHPy150Open mtth/kit/kit/base.py/Kit.on_teardown