Don't close diveDir in fileExists (#20035)
This commit is contained in:
parent
5082106145
commit
1767a3bd70
@ -637,7 +637,7 @@ bool CardReader::fileExists(const char * const path) {
|
||||
if (fname) {
|
||||
diveDir->rewind();
|
||||
selectByName(*diveDir, fname);
|
||||
diveDir->close();
|
||||
//diveDir->close();
|
||||
}
|
||||
return !!fname;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user