mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
Dispose some writers so the file isn't active anymore
This commit is contained in:
parent
088f9a00e2
commit
e4ccae2c93
4 changed files with 8 additions and 1 deletions
Binary file not shown.
|
@ -204,6 +204,10 @@ namespace FirstPlugin
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
writer.Close();
|
||||
writer.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -573,7 +573,8 @@ namespace FirstPlugin
|
|||
writer.Write(ImageData.Length);
|
||||
writer.WriteSignature(" XET");
|
||||
writer.Write(131073);
|
||||
|
||||
writer.Close();
|
||||
writer.Dispose();
|
||||
}
|
||||
|
||||
public override void SetImageData(Bitmap bitmap, int ArrayLevel)
|
||||
|
|
|
@ -921,6 +921,8 @@ namespace Switch_Toolbox.Library
|
|||
}
|
||||
|
||||
writer.Flush();
|
||||
writer.Close();
|
||||
writer.Dispose();
|
||||
}
|
||||
private void WriteDX10Header(BinaryDataWriter writer)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue