commit
f85c7c9ef1
|
|
@ -64,6 +64,12 @@ abstract class AbstractApplicationLauncher implements BeforeEachCallback {
|
||||||
void destroyProcess() {
|
void destroyProcess() {
|
||||||
if (this.process != null) {
|
if (this.process != null) {
|
||||||
this.process.destroy();
|
this.process.destroy();
|
||||||
|
try {
|
||||||
|
this.process.waitFor();
|
||||||
|
}
|
||||||
|
catch (InterruptedException ex) {
|
||||||
|
Thread.currentThread().interrupt();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue