mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-06 00:56:03 -06:00
tst: memfs-dotnet: fix stream_create_overwrite_test
This commit is contained in:
1 parent
bce0d63f7d
commit
5839d46b7a
1 file changed
+1
-1
@@ -410,7 +410,7 @@ namespace memfs
|
|||||||
FileNode StreamNode = FileNodeMap.Get(StreamFileName);
|
FileNode StreamNode = FileNodeMap.Get(StreamFileName);
|
||||||
if (null == StreamNode)
|
if (null == StreamNode)
|
||||||
continue; /* should not happen */
|
continue; /* should not happen */
|
||||||
if (0 == FileNode.OpenCount)
|
if (0 == StreamNode.OpenCount)
|
||||||
FileNodeMap.Remove(StreamNode);
|
FileNodeMap.Remove(StreamNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user