强行结束Thread
System.Threading.Thread thread;
public void Dispose()
{
if (thread.ThreadState == ThreadState.Running) {
thread.Abort();
}
}
System.Threading.Thread thread;
public void Dispose()
{
if (thread.ThreadState == ThreadState.Running) {
thread.Abort();
}
}