ABC has canceled Happy Endings, the Friday night sitcom which included a non-stereotypical gay character played by Adam Pally.

The show had been on a death watch as it struggled to find an audience in its third season.

According to The Hollywood Reporter, Sony TV, which produces the show, is shopping the show to other outlets, with USA Network being a possible new home for the ensemble comedy.

The sitcom had been compared to a modern version of NBC's long-running comedy Friends. Modern in the sense that all the friends were not white or straight.

Pally's Max briefly dated a coffeehouse owner (played by Max Greenfield) in the show's first season and he got a boyfriend (James Wolk) in the following season. However, he ended season 3 attending a wedding without a plus one.

The news comes on the same day that NBC canceled The New Normal, which featured a male gay couple trying to start a family.

(Related: NBC cancels gay-themed The New Normal.)