Browse files

Explicitly uninstall bundles on failure rather than remove from region.

If a subsystem fails to install, content and dependency bundles should be explicitly uninstalled rather than simply
removing them from the region. Removal from a region does not result in the bundle being uninstalled; however, uninstalling
a bundle does result in its removal from the region.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 7df961d commit d6bcc0365bfa9ae978866506a9b281a2d187b17f John Ross committed Dec 11, 2012
@@ -204,7 +204,7 @@ public void ended(Coordination coordination) throws Exception {
public void failed(Coordination coordination) throws Exception {
- provisionTo.getRegion().removeBundle(bundle);
+ bundle.uninstall();
// Set the start level of all bundles managed (i.e. installed) by the

0 comments on commit d6bcc03

Please sign in to comment.