修正了一个BUG,当不登录直接离开时子线程会crash
This commit is contained in:
parent
0da096d765
commit
d0826dae74
@ -34,7 +34,8 @@ namespace BaiduYunSync
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Application.Exit();
|
//如果不是点击了确认,强行退出程序,使用Application.Exit()会导致子线程报错
|
||||||
|
System.Environment.Exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var items = LiteDbHelper.GetAllSyncItems();
|
var items = LiteDbHelper.GetAllSyncItems();
|
||||||
|
Loading…
Reference in New Issue
Block a user