Skip to content

Commit da6711f

Browse files
committed
[run-tests.php] Merge multiple unset() calls to a single call
1 parent 31ca12a commit da6711f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

run-tests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,8 +1567,7 @@ function run_all_tests_parallel(array $test_files, array $env, $redir_tested): v
15671567
]);
15681568
} else {
15691569
proc_terminate($workerProcs[$i]);
1570-
unset($workerProcs[$i]);
1571-
unset($workerSocks[$i]);
1570+
unset($workerProcs[$i], $workerSocks[$i]);
15721571
goto escape;
15731572
}
15741573
break;

0 commit comments

Comments
 (0)