mirror of
https://github.com/corda/corda.git
synced 2025-06-18 15:18:16 +00:00
Fixed bug where calling Process.destroy() on a PID that no longer exist kills all processes in Pgroup.
This commit is contained in:
@ -149,7 +149,9 @@ public class Runtime {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
kill(pid);
|
if (pid != 0) {
|
||||||
|
kill(pid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public InputStream getInputStream() {
|
public InputStream getInputStream() {
|
||||||
|
Reference in New Issue
Block a user