diff --git a/zio-interop-cats/shared/src/main/scala/zio/interop/cats.scala b/zio-interop-cats/shared/src/main/scala/zio/interop/cats.scala index d6e77f06..ce5edb67 100644 --- a/zio-interop-cats/shared/src/main/scala/zio/interop/cats.scala +++ b/zio-interop-cats/shared/src/main/scala/zio/interop/cats.scala @@ -448,9 +448,10 @@ private abstract class ZioConcurrent[R, E, E1] leftFiber.id <> rightFiber.id ) .onInterrupt( - leftFiber.interruptAsFork(parentFiber.id) *> rightFiber.interruptAsFork( - parentFiber.id - ) *> leftFiber.await *> rightFiber.await + leftFiber.interruptFork *> + rightFiber.interruptFork *> + leftFiber.await *> + rightFiber.await ) } }