async def METHOD_NAME(self, close_code):
    if self.used:
        await roulette_cleanup(self.consumer.socket_id)
    for call_id in self.calls:
        await self.consumer.channel_layer.group_discard(
            GROUP_ROULETTE_CALL.format(id=call_id),
            self.consumer.channel_name,
        )
        if close_code in (1000, 1001):
            await self.consumer.channel_layer.group_send(
                GROUP_ROULETTE_CALL.format(id=call_id),
                {"type": "roulette.hangup"},
            )