Skip to content

Commit

Permalink
Merge pull request #306 from LossyDragon/memory-fixes
Browse files Browse the repository at this point in the history
StrictMode policy violation fixes for android.
  • Loading branch information
LossyDragon authored Dec 31, 2024
2 parents f380de3 + e4adf80 commit 33c5405
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/in/dragonbra/javasteam/steam/CMClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33c5405

Please sign in to comment.