Call this after printing out fatal error messages to clean up and exit the compiler.
See Implementation
Call this after printing out fatal error messages to clean up and exit the compiler.