Browse Source

Close directory handle to prevent locking issues

Edgaras Janušauskas 7 years ago
parent
commit
f05e227cd8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Cache/Engine/FileEngine.php

+ 2 - 0
src/Cache/Engine/FileEngine.php

@@ -336,6 +336,8 @@ class FileEngine extends CacheEngine
                 //@codingStandardsIgnoreEnd
             }
         }
+
+        $dir->close();
     }
 
     /**