From e4adf80b39911dbecb7c19663180cbac1449381b Mon Sep 17 00:00:00 2001 From: LossyDragon Date: Sat, 28 Dec 2024 01:17:26 -0600 Subject: [PATCH] Fix StrictMode policy violation in CMClient.handleMulti --- src/main/java/in/dragonbra/javasteam/steam/CMClient.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/in/dragonbra/javasteam/steam/CMClient.java b/src/main/java/in/dragonbra/javasteam/steam/CMClient.java index dc6504c6..7400dc81 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/CMClient.java +++ b/src/main/java/in/dragonbra/javasteam/steam/CMClient.java @@ -355,6 +355,9 @@ private void handleMulti(IPacketMsg packetMsg) { } } payload = baos.toByteArray(); + + gzin.close(); + baos.close(); } catch (IOException e) { logger.debug("HandleMulti encountered an exception when decompressing.", e); return;