CCSTrace/CCS/CCSMain.cs
@@ -415,11 +415,24 @@ return _Record; } RecordLog _PLog = new RecordLog(CCS.LocalVariable.CCS_ListPath + "MAIN.txt"); private void Log(String message) { _PLog.Error(message); _PLog.Close(); RecordLog _PLog = null; try { _PLog = new RecordLog(CCS.LocalVariable.CCS_ListPath + "MAIN.txt"); _PLog.Error(message); } catch { } finally { if (_PLog != null) { _PLog.Close(); } } } }