Prevent NPE during fetch and push via SSH
Bug: 340928 Change-Id: I870b77eeffa70a57891d7253a06ad7d44d808ee4 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
0b5ad24915
commit
5152ed8e2e
|
@ -290,6 +290,7 @@ public void close() {
|
|||
}
|
||||
|
||||
super.close();
|
||||
if (process != null)
|
||||
process.destroy();
|
||||
}
|
||||
}
|
||||
|
@ -347,6 +348,7 @@ public void close() {
|
|||
}
|
||||
|
||||
super.close();
|
||||
if (process != null)
|
||||
process.destroy();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue