Skip to content

Commit

Permalink
[hotfix] Simplify the lambda expression in TaskManagerRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaGYZ authored and tillrohrmann committed Jun 24, 2020
1 parent e716293 commit b5e5063
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ public void onFatalError(Throwable exception) {
FutureUtils.orTimeout(terminationFuture, FATAL_ERROR_SHUTDOWN_TIMEOUT_MS, TimeUnit.MILLISECONDS);

terminationFuture.whenComplete(
(Void ignored, Throwable throwable) -> {
terminateJVM();
});
(Void ignored, Throwable throwable) -> terminateJVM());
}
}

Expand Down

0 comments on commit b5e5063

Please sign in to comment.