Commit e18693e1 authored by wangjunqiang's avatar wangjunqiang

修复再Free过程中系统退出时的bug

parent bda0276b
......@@ -424,12 +424,16 @@ namespace GcDevicePc
}
private void WaitHMIFree()
{
if (!backgroundWorker1.IsBusy)
{
this.workProgress.Visible = true;
this.workProgress.Value = 0;
this.backgroundWorker1.RunWorkerAsync();
}
}
private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e)
{
int ret = -1;
......
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