Skip to content

Commit

Permalink
Merge pull request #46027 from dennisverspuij/virtualbox-storage-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jul 27, 2024
2 parents b964094 + 181aeca commit 0525312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Files/Storage/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function rmdir($path) {
}
$it->next();
}
unset($it); // Release iterator and thereby its potential directory lock (e.g. in case of VirtualBox shared folders)
clearstatcache(true, $this->getSourcePath($path));
return rmdir($this->getSourcePath($path));
} catch (\UnexpectedValueException $e) {
Expand Down

0 comments on commit 0525312

Please sign in to comment.