celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-244: stop connectionListener before destroying the shellMediator allows the usage of the loghelper within the connectionListener
Date Sat, 27 Jun 2015 10:03:02 GMT
Repository: celix
Updated Branches:
  refs/heads/develop fbe73c281 -> 2dc3840dd


CELIX-244: stop connectionListener before destroying the shellMediator allows the usage of
the loghelper within the connectionListener


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/2dc3840d
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/2dc3840d
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/2dc3840d

Branch: refs/heads/develop
Commit: 2dc3840ddf19287efc8acdaa1c1e95ebfd4152db
Parents: fbe73c2
Author: Bjoern Petri <bpetri@apache.org>
Authored: Sat Jun 27 12:01:03 2015 +0200
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Sat Jun 27 12:01:03 2015 +0200

----------------------------------------------------------------------
 remote_shell/private/src/activator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/2dc3840d/remote_shell/private/src/activator.c
----------------------------------------------------------------------
diff --git a/remote_shell/private/src/activator.c b/remote_shell/private/src/activator.c
index c4e395f..062420d 100644
--- a/remote_shell/private/src/activator.c
+++ b/remote_shell/private/src/activator.c
@@ -101,9 +101,9 @@ celix_status_t bundleActivator_stop(void * userData, bundle_context_pt
context)
 	celix_status_t status = CELIX_SUCCESS;
 	bundle_instance_pt bi = (bundle_instance_pt) userData;
 
+	connectionListener_stop(bi->connectionListener);
 	shellMediator_destroy(bi->shellMediator);
 
-	connectionListener_stop(bi->connectionListener);
 	remoteShell_stopConnections(bi->remoteShell);
 
 	status = logHelper_stop(bi->loghelper);


Mime
View raw message