One could argue that the NHL mic's up players to give fans insight into their personalities. However, when a player is inadvertently caught on a hot mic, it can be an embarrassment for both the player and the league.
The situation reflects poorly on the NHL, and its executives are likely not pleased. However, the decision to air such content lies with the broadcast team, not the league.