mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Implement close in winfsp.
This commit is contained in:
@@ -197,5 +197,14 @@ namespace RomRepoMgr.Core.Filesystem
|
|||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Close(object fileNode, object fileDesc)
|
||||||
|
{
|
||||||
|
if(!(fileNode is long handle))
|
||||||
|
return;
|
||||||
|
|
||||||
|
_vfs.Close(handle);
|
||||||
|
_fileStatHandleCache.TryRemove(handle, out _);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user