'Manually clean up the data in the locals for this context.  Call
this at the end of the request or use `make_middleware()`.'

def cleanup(self):

    for local in self.locals:
        release_local(local)
