Skip to content

Commit

Permalink
[java] Synchronize method to get Selenium Manager binary (fix #11620) (
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia authored Feb 11, 2023
1 parent c044441 commit 1e2a4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/manager/SeleniumManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private static String runCommand(String... command) {
* Determines the correct Selenium Manager binary to use.
* @return the path to the Selenium Manager binary.
*/
private File getBinary() {
private synchronized File getBinary() {
if (binary == null) {
try {
Platform current = Platform.getCurrent();
Expand Down

0 comments on commit 1e2a4c4

Please sign in to comment.