Exemplo n.º 1
0
        public void notifyError(string message, Exception e)
        {
            printError("Exception notified:" + message, e);
            hasError = true;

            if (!isTerminating)
            {
                isTerminating = true;
                print("Terminating all threads.");
                taskSQL.stop();
                taskDownload.stop();
                taskUpload.stop();
                taskExecute.stop();
                taskKill.stop();
            }
        }