forced closedir in order to avoid leak of file descriptor in FolderIterator

This commit is contained in:
mr-alice 2016-09-23 19:01:14 +02:00
parent 0cc4ebd89c
commit 9f76b7601a

View File

@ -150,9 +150,6 @@ uint8_t FolderIterator::file_type() { return mType ; }
bool FolderIterator::closedir()
{
if(!validity)
return false;
validity = false;
#ifdef WINDOWS_SYS