Skip to content

Commit

Permalink
fix npe (apache#14369)
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshSingla authored Jun 6, 2023
1 parent cfc2a8d commit 5da601c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@ public void stopGracefully()
}
);

workerTaskLauncher.waitForWorkerShutdown();
if (workerTaskLauncher != null) {
workerTaskLauncher.waitForWorkerShutdown();
}
}

public TaskStatus runTask(final Closer closer)
Expand Down

0 comments on commit 5da601c

Please sign in to comment.