Closes the console emulator window, and kills the console process if it's still running.
This also closes the running session, the control goes blank and ready for running a new session.
To just kill the console process, use KillConsoleProcessAsync. If ConEmuStartInfo.WhenConsoleProcessExits allows, the console emulator window might stay open after that.
public CloseConsoleEmulator ( ) : void | ||
return | void |