Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current code in Evaluators.java is
for (final EvaluatorManager evaluatorManager : evaluatorsCopy) { LOG.log(Level.WARNING, "Unclean shutdown of evaluator {0}", evaluatorManager.getId()); if (!evaluatorManager.isClosedOrClosing()) { evaluatorManager.close(); } }
The warning about unclean shutdown is posted even for evaluators which are already closed or closing. We should move the log inside if statement, so that it is written only if action is taken to close the evaluator forcefully.