First 2 things to come to mind were The Wire and Avatar: The Last Airbender. The Wire ends on a bittersweet note; Marlo is forced to go legit forever, but he never got a real comeuppance. McNulty and Lester are thrown off the police force after doing what they had to do, but said actions let them get rid of Marlo in the first place. We have the next generation of Omars and Bubbles and we see that the game continues. Hell, the only character who actually got an unambiguously good ending was Bubbles, after finally getting clean.
It probably sounds like I'm criticizing, but I'm really not. It fit with the tone of the show so well, anything more happy would have felt like an asspull.
As for Avatar, there was a bit of Deus Ex Machina, and the writing was just generally less good than in season 2, but we still got some epic fights and closure. Plus, Suki was made a member of the Gaang just before the ending, so that's cool.
It probably sounds like I'm criticizing, but I'm really not. It fit with the tone of the show so well, anything more happy would have felt like an asspull.
As for Avatar, there was a bit of Deus Ex Machina, and the writing was just generally less good than in season 2, but we still got some epic fights and closure. Plus, Suki was made a member of the Gaang just before the ending, so that's cool.