private static void ParentProcessExited(object sender, EventArgs e)
{
logger.Info("The process for the application at '{0}' has been orphaned. Shutting down.", options.ApplicationPath);
isRunning = false;
lock (Locker)
{
if (bootstraps != null)
{
bootstraps.Pushdown(false);
bootstraps.Dispose();
bootstraps = null;
}
if (inputThread != null)
{
inputThread.IsBackground = true;
}
}
}