Skip to content

Commit c90117c

Browse files
[build] need to close the handle
1 parent b912cd4 commit c90117c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/framework/System/IO/Directory.cxx

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Array<System::IO::FileInfo> System::IO::DirectoryInfo::GetFiles()
3939
}
4040
}
4141
while (FindNextFile(hFind, &ffd) != 0);
42+
43+
FindClose(hFind);
4244

4345
#endif
4446
return files.ToArray();

0 commit comments

Comments
 (0)