Skip to content

Commit 64e8170

Browse files
authored
Add restartIfNeeded in childprocess request (#614)
1 parent f8e75b7 commit 64e8170

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utbot-instrumentation/src/main/kotlin/org/utbot/instrumentation/ConcreteExecutor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ class ConcreteExecutor<TIResult, TInstrumentation : Instrumentation<TIResult>> p
314314
* @see [org.utbot.instrumentation.instrumentation.coverage.CoverageInstrumentation].
315315
*/
316316
fun <T : Protocol.Command, R> request(requestCmd: T, action: ((Protocol.Command) -> R)): R = runBlocking {
317+
restartIfNeeded()
317318
awaitCommand(sendCommand(requestCmd), action)
318319
}
319320

0 commit comments

Comments
 (0)