Skip to content

Commit

Permalink
Prevent potential NPE during launch with commandline arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Mar 2, 2024
1 parent d698b7b commit d50c3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/bwravencl/controllerbuddy/gui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private Main(final TaskRunner taskRunner, final String cmdProfilePath, final Str
}

if (arguments != null) {
main.newActivation(arguments);
newActivation(arguments);

try (final var printStream =
new PrintStream(socket.getOutputStream(), false, StandardCharsets.UTF_8)) {
Expand Down

0 comments on commit d50c3ca

Please sign in to comment.