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)
|
if (curStatus == null)
|
||||||
{
|
{
|
||||||
// This should only happen if p is killed, but just in case
|
// Wit has probably exited, but we'll try to loop through again after a short sleep.
|
||||||
if (!p.HasExited)
|
Thread.Sleep(100);
|
||||||
{
|
continue;
|
||||||
p.Kill();
|
|
||||||
p.WaitForExit();
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Match m = r.Match(curStatus);
|
Match m = r.Match(curStatus);
|
||||||
|
Loading…
Reference in New Issue
Block a user