D&D is not the biggest brand in Hasbro's portfolio, nor in WotC's, but I'd hardly call any brand that pulls in double-digit millions "small potatoes." D&D is a major WotC brand, and I'd hate to be the WotC manager who has to explain to the Hasbro board or shareholders why I didn't take it seriously.
That said, if a company like WotC sheds a line like Star Wars, the correct question to ask isn't "Is the company in trouble?" It's "Is the Star Wars RPG in trouble?" And the answer is, apparently, yes. At least relative to its costs which, with the SW license, are high.
(In fact, if it was the company, rather than the line, in trouble, they would hold onto the brand like a drowning man clinging to a life ring. If you were in financial trouble, would you solve it by getting rid of something that makes you money?)