Fix accidentally disposing an ISaveDataInfoReader

This commit is contained in:
Alex Barney 2021-06-01 15:07:40 -07:00
parent 22df2808fa
commit 3018eeb8e8

View file

@ -1832,7 +1832,7 @@ namespace LibHac.FsSrv
filterReader = new SaveDataInfoFilterReader(reader, in filter); filterReader = new SaveDataInfoFilterReader(reader, in filter);
infoReader = new ReferenceCountedDisposable<ISaveDataInfoReader>(filterReader); infoReader = new ReferenceCountedDisposable<ISaveDataInfoReader>(Shared.Move(ref filterReader));
return Result.Success; return Result.Success;
} }
finally finally