camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject camel git commit: [CAMEL-9048] Clear map on stop
Date Wed, 05 Aug 2015 08:04:54 GMT
Repository: camel
Updated Branches:
  refs/heads/master 8a414c3d9 -> 31eea9003


[CAMEL-9048] Clear map on stop


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/31eea900
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/31eea900
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/31eea900

Branch: refs/heads/master
Commit: 31eea9003e4f09bd85754f7a6c6ee0b7f0802ea0
Parents: 8a414c3
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed Aug 5 10:04:26 2015 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed Aug 5 10:04:43 2015 +0200

----------------------------------------------------------------------
 camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/31eea900/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java b/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java
index b7554cf..354232b 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java
@@ -105,6 +105,7 @@ public class Activator implements BundleActivator, BundleTrackerCustomizer
{
     public void stop(BundleContext context) throws Exception {
         LOG.info("Camel activator stopping");
         tracker.close();
+        packageCapabilities.clear();
         LOG.info("Camel activator stopped");
     }
     


Mime
View raw message