Skip to content

Commit

Permalink
Fix NPE when calling kill.sh
Browse files Browse the repository at this point in the history
Introduced in a96434 (remove dependency on commons-lang3)
  • Loading branch information
klausdorer committed Jul 1, 2024
1 parent 1b7e3b4 commit b86e969
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,8 @@ private void startPlayer(RunInformation runInfo)

public void stopPlayer()
{
runScript("kill.sh");
}

private void runScript(String scriptName)
{
runScript(scriptName, null);
Object[] arguments = {""};
runScript("kill.sh", arguments);
}

private void runScript(String scriptName, Object[] arguments)
Expand Down

0 comments on commit b86e969

Please sign in to comment.