Flynn was "fed to the wolves" when it because public knowledge that he had had discussions regarding the future of sanctions with a Russian official BEFORE Trump was President.  The treason, if you insist on using the term, would be an official with a "yet to be" Presidency involving himself in a question of foreign relations policy.  I seriously doubt he did so w/o the knowledge and approval of Trump...and w/o the knowledge that his conversation would be recorded......the man's no fool.

However, once his improper action became public knowledge, he was "toast"....Trump couldn't admit he had approved the discussion and had no choice but to dismiss Flynn, who, like a good soldier, fell on his sword.  

It's interesting that you see the "treason" in exposing Flynn's action, not in the action itself........a possible crime (and it was possibly a crime), it seems in your view,  is OK.....holding the individual publicly accountable, however, is....interesting perspective...