The cops came and ended the party.
The other definition of party ender is lame.
A record or song so irritating, grating or terrible that it is nearly guaranteed to clear out any group of people from any given space.
Lamont put on Lou Reed's Metal Machine Music, the ultimate party ender, when he'd had enough of pretending he liked these people in his house.