mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864803 - sutAgent: do not destroy process if it has ended already; r=jmaher DONTBUILD
This commit is contained in:
parent
c8264eae8d
commit
8ceca5da68
@ -136,7 +136,7 @@ public class RedirOutputThread extends Thread
|
||||
}
|
||||
}
|
||||
|
||||
// wait for process to end, if it has not already, then destroy it
|
||||
// wait for process to end; if it has not already ended, then destroy it
|
||||
try
|
||||
{
|
||||
pProc.waitFor();
|
||||
@ -144,8 +144,8 @@ public class RedirOutputThread extends Thread
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
pProc.destroy();
|
||||
}
|
||||
pProc.destroy();
|
||||
buffer = null;
|
||||
System.gc();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user