Critical discharge in actively cooled wing leading edge of a re-entry vehicle