mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-25 09:06:08 +00:00
Streams now dispose in InitializeTexturePack
This commit is contained in:
@@ -1224,6 +1224,11 @@ namespace PckStudio
|
||||
|
||||
PCKFileWriter.Write(ms3, infoPCK, LittleEndianCheckBox.Checked);
|
||||
texturepackInfo.SetData(ms3.ToArray());
|
||||
|
||||
ms.Dispose();
|
||||
ms2.Dispose();
|
||||
ms3.Dispose();
|
||||
|
||||
currentPCK.Files.Add(texturepackInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user