Skip to content

Commit 1f988af

Browse files
sofurihafedenis-fokin
authored andcommitted
Add restartIfNeeded in childprocess request (#614)
1 parent 5940b2e commit 1f988af

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
@@ -312,6 +312,7 @@ class ConcreteExecutor<TIResult, TInstrumentation : Instrumentation<TIResult>> p
312312
* @see [org.utbot.instrumentation.instrumentation.coverage.CoverageInstrumentation].
313313
*/
314314
fun <T : Protocol.Command, R> request(requestCmd: T, action: ((Protocol.Command) -> R)): R = runBlocking {
315+
restartIfNeeded()
315316
awaitCommand(sendCommand(requestCmd), action)
316317
}
317318

0 commit comments

Comments
 (0)