He/She glitches the ending, as the citadel falls, so it freezes with "invalid game state" (or something like that), thus the game doesn't end and report a loss for them.
It's fairly well known, but I'd rather not say how I heard they pull this off. The less the know how, the better, imho.