Possibly fix 'wit exited with -1' error

This commit is contained in:
Mogzol 2016-03-11 18:30:51 -08:00
parent 15ff842fdf
commit f4179e4f0a

View File

@ -769,14 +769,9 @@ namespace BrawlBuilder
if (curStatus == null)
{
// This should only happen if p is killed, but just in case
if (!p.HasExited)
{
p.Kill();
p.WaitForExit();
}
break;
// Wit has probably exited, but we'll try to loop through again after a short sleep.
Thread.Sleep(100);
continue;
}
Match m = r.Match(curStatus);