You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by am...@apache.org on 2016/01/29 17:15:05 UTC
[2/5] cxf-dosgi git commit: Fix resource (thread) leak in discovery
sample's client
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 <am...@apache.org>
Authored: Fri Jan 29 16:50:53 2016 +0200
Committer: Amichai Rothman <am...@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();
}
}