1
0
Fork 0

Attempt fixing virtualbox issues, refs #9945

pull/9959/head
Jordi Boggiano 2021-06-05 16:40:18 +02:00
parent edf9951006
commit 7a7e0cc031
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 6 additions and 0 deletions

View File

@ -294,6 +294,8 @@ class Filesystem
if (Platform::isWindows()) {
usleep(350000);
$deleted = @rmdir($path);
} elseif (Platform::workaroundFilesystemIssues()) {
$deleted = @rmdir($path);
}
if (!$deleted) {

View File

@ -174,7 +174,11 @@ class Platform
{
if (self::isVirtualBoxGuest()) {
usleep(200000);
return true;
}
return false;
}
/**