Commit 91d87d09 authored by wangjunqiang's avatar wangjunqiang

防止配置不载入导致的crash

parent 5a2fce42
......@@ -198,7 +198,15 @@ namespace GcDevicePc.GCBuffer
public void LoadStatus()
{
HwConfigFile = new IniFile(_filename);
GetHWConfig();
try
{
GetHWConfig();
}
catch
{
}
}
public bool GetHWConfig()
......
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