diff --git a/src/dorkbox/network/aeron/CoroutineSleepingMillisIdleStrategy.kt b/src/dorkbox/network/aeron/CoroutineSleepingMillisIdleStrategy.kt index 6af55ecf..e80b6967 100644 --- a/src/dorkbox/network/aeron/CoroutineSleepingMillisIdleStrategy.kt +++ b/src/dorkbox/network/aeron/CoroutineSleepingMillisIdleStrategy.kt @@ -61,22 +61,14 @@ class CoroutineSleepingMillisIdleStrategy : CoroutineIdleStrategy { if (workCount > 0) { return } - try { - delay(sleepPeriodMs) - } catch (ignore: InterruptedException) { - Thread.currentThread().interrupt() - } + delay(sleepPeriodMs) } /** * {@inheritDoc} */ override suspend fun idle() { - try { - delay(sleepPeriodMs) - } catch (ignore: InterruptedException) { - Thread.currentThread().interrupt() - } + delay(sleepPeriodMs) } /**