Skip to content

Commit e93d014

Browse files
committed
Forcibly kill the process when closing a ProcessConnection
This way an emulator doesn't keep hanging around.
1 parent 40aa575 commit e93d014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/be/ugent/topl/mio/connections/ProcessConnection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ class ProcessConnection(vararg command: String, private val name: String ="Proce
1919
}
2020

2121
override fun close() {
22-
process.destroy()
22+
process.destroyForcibly()
2323
}
2424
}

0 commit comments

Comments
 (0)