Skip to content

Commit 1e2a4c4

Browse files
authored
[java] Synchronize method to get Selenium Manager binary (fix #11620) (#11640)
1 parent c044441 commit 1e2a4c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/manager/SeleniumManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private static String runCommand(String... command) {
117117
* Determines the correct Selenium Manager binary to use.
118118
* @return the path to the Selenium Manager binary.
119119
*/
120-
private File getBinary() {
120+
private synchronized File getBinary() {
121121
if (binary == null) {
122122
try {
123123
Platform current = Platform.getCurrent();

0 commit comments

Comments
 (0)