Don't close diveDir in fileExists (#20035)

2.0.x
Sergey1560 4 years ago committed by GitHub
parent 323b3a63d6
commit f924344cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save