async def shutdown(self) -> None:
        """Causes on_shutdown signal

        Should be called before cleanup()
        """
        await self.on_shutdown.send(self)
Causes on_shutdown signal

        Should be called before cleanup()
        
lib/aiohttp/web_app.py