Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2016-02-08 17:14:44 +0000
committerThomas Watson2016-02-08 21:59:11 +0000
commit763d5d1eeed1d7ade79d593c598cfd8889a606cb (patch)
tree6ec43a87d8f6b88984803eeffecd55916d99b9c4
parent69a8ec6b4533eafec0322b138abce76a2eb26acd (diff)
downloadrt.equinox.framework-763d5d1eeed1d7ade79d593c598cfd8889a606cb.tar.gz
rt.equinox.framework-763d5d1eeed1d7ade79d593c598cfd8889a606cb.tar.xz
rt.equinox.framework-763d5d1eeed1d7ade79d593c598cfd8889a606cb.zip
Bug 487466 - BundleFiles are not closed for removal pending wirings fromI20160209-0800
uninstalled bundles on shutdown Change-Id: I184f35602aa82e28694f408f492a11b6d6d11ca9 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
index d39d30c58..839b3124d 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/Storage.java
@@ -322,6 +322,12 @@ public class Storage {
}
}
}
+ for (ModuleRevision removalPending : moduleContainer.getRemovalPending()) {
+ Generation generation = (Generation) removalPending.getRevisionInfo();
+ if (generation != null) {
+ generation.close();
+ }
+ }
mruList.shutdown();
adaptor.shutdownResolverExecutor();
}

Back to the top