The decision to end the show came before sexual assault allegations against Kevin Spacey were made public, according to sources.