mirror of
https://github.com/mogzol/BrawlBuilder.git
synced 2024-11-16 14:49:21 +01:00
Possibly fix 'wit exited with -1' error
This commit is contained in:
parent
15ff842fdf
commit
f4179e4f0a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user