Skip to content

Commit

Permalink
Merge pull request #55 from lightglitch/master
Browse files Browse the repository at this point in the history
Stop leafs first
  • Loading branch information
decebals committed Jul 20, 2015
2 parents 302ec57 + dff2c20 commit 59423bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private PluginState stopPlugin(String pluginId, boolean stopDependents) {
while (!dependents.isEmpty()) {
String dependent = dependents.remove(0);
stopPlugin(dependent, false);
dependents.addAll(dependencyResolver.getDependents(dependent));
dependents.addAll(0, dependencyResolver.getDependents(dependent));
}
}

Expand Down

0 comments on commit 59423bb

Please sign in to comment.