def unload(self):
        self.disable()
        self._remove_all_event_handlers()
        try:
            self.machine.game.player.uvars['logic_blocks'].remove(self)
        except __HOLE__:
            pass
dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/LogicBlock.unload