diff --git a/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt b/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt index 39b576e64b..31c697f469 100644 --- a/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt +++ b/archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt @@ -71,6 +71,9 @@ public class Js5ChannelHandler( if (flush) { ctx.flush() + } + + if (inFlightRequests.isNotEmpty()) { ctx.read() } }