Commit ad74a5cc authored by mercury233's avatar mercury233

fix thread exit

parent 3b1accc3
......@@ -118,6 +118,11 @@ namespace WindBot
}
}
Logger.WriteLine(client.Username + " end.");
System.Threading.Thread.CurrentThread.Abort();
}
catch (ThreadAbortException ex)
{
//Logger.WriteErrorLine("Run Error: " + ex);
}
catch (Exception ex)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment