mirror of
https://github.com/corda/corda.git
synced 2025-02-02 01:08:09 +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:
parent
216b9a05ea
commit
89cdd9d0d2
@ -149,8 +149,10 @@ public class Runtime {
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
if (pid != 0) {
|
||||
kill(pid);
|
||||
}
|
||||
}
|
||||
|
||||
public InputStream getInputStream() {
|
||||
return new FileInputStream(new FileDescriptor(in));
|
||||
|
Loading…
x
Reference in New Issue
Block a user