cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amic...@apache.org
Subject [2/5] cxf-dosgi git commit: Fix resource (thread) leak in discovery sample's client
Date Fri, 29 Jan 2016 16:15:05 GMT
Fix resource (thread) leak in discovery sample's client


Project: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/commit/09ff50b0
Tree: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/tree/09ff50b0
Diff: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/diff/09ff50b0

Branch: refs/heads/master
Commit: 09ff50b03334a8b2765a765c4d923e90339acc84
Parents: 17efe75
Author: Amichai Rothman <amichai@apache.org>
Authored: Fri Jan 29 16:50:53 2016 +0200
Committer: Amichai Rothman <amichai@apache.org>
Committed: Fri Jan 29 16:50:53 2016 +0200

----------------------------------------------------------------------
 .../org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/09ff50b0/samples/discovery/client/src/main/java/org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java
----------------------------------------------------------------------
diff --git a/samples/discovery/client/src/main/java/org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java
b/samples/discovery/client/src/main/java/org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java
index 2221116..9a6c1d4 100644
--- a/samples/discovery/client/src/main/java/org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java
+++ b/samples/discovery/client/src/main/java/org/apache/cxf/dosgi/samples/discovery/consumer/Activator.java
@@ -81,6 +81,7 @@ public class Activator implements BundleActivator {
 
     public void stop(BundleContext bc) throws Exception {
         handle.cancel(true);
+        scheduler.shutdown();
         tracker.close();
     }
 }


Mime
View raw message