Skip to content

Commit

Permalink
camel-core: Fix potential NPE when stopping routes
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Oct 11, 2024
1 parent e65694f commit 6e87a53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ private void doStopRoutes(RouteController controller, Comparator<RouteStartupOrd
Route route = order.getRoute();
var status = controller.getRouteStatus(route.getRouteId());
boolean stopped = status == null || status.isStopped();
if (!stopped) {Fi
if (!stopped) {
stopRoute(route.getRouteId(), LoggingLevel.DEBUG);
}
}
Expand Down

0 comments on commit 6e87a53

Please sign in to comment.