#40539Warning in Locker if filepointer is no resource
Description
The ‘flock’ locking calls flose() without checking if the filepointer
is actually a resource. This leads to warnings, triggered by
releaseDoesNotRemoveFilesNotWithinTypo3TempLocksDirectory().
Solution is to check for a valid resource before calling flock() and
fclose().
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.