You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to work around a reported race condition on opening DLL files for reading, probably due MM being instantiated twice or, perhaps, a file handler leak due forgetting to call Dispose when opening file streams?
Log.LOG.detail("Error {0} on reading {1} on regressive count {2}!",e.Message,filename,i);
70
+
GC.Collect();// For the hypothesis KSP is leaking file handlers
71
+
Thread.Sleep(125);// In milliseconds
72
+
}
73
+
if(0==i&&null!=ex)throwex;
74
+
if(null!=ex)
75
+
Log.LOG.warn("File {0} suffered at least one Exception with message \"{1}\" while being processed. The problem was recovered, but this log was issued to mark the event.",filename,ex.Message);
0 commit comments