mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix accidentally disposing an ISaveDataInfoReader
This commit is contained in:
parent
22df2808fa
commit
3018eeb8e8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue