Skip to content

Commit

Permalink
fix: XML capture save file does not close properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-kirisame committed Sep 28, 2022
1 parent 9075cb6 commit 6541095
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FFXIVMonReborn/Importers/XmlCaptureImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ public static Capture Load(string path)

public static void Save(Capture capture, string path)
{
//using (var fileStream = new FileStream(path, FileMode.Create))
using (var fileStream = new FileStream(path, FileMode.Create))
{
var fileStream = new FileStream(path, FileMode.Create);
if (capture != null)
{
foreach (var packet in capture.Packets)
Expand Down

0 comments on commit 6541095

Please sign in to comment.