celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject svn commit: r1645857 - /celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c
Date Tue, 16 Dec 2014 06:38:55 GMT
Author: bpetri
Date: Tue Dec 16 06:38:55 2014
New Revision: 1645857

URL: http://svn.apache.org/r1645857
Log:
CELIX-190: added serviceTracker_destroy

Modified:
    celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c

Modified: celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c
URL: http://svn.apache.org/viewvc/celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c?rev=1645857&r1=1645856&r2=1645857&view=diff
==============================================================================
--- celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c
(original)
+++ celix/trunk/remote_services/remote_service_admin_http/private/src/export_registration_impl.c
Tue Dec 16 06:38:55 2014
@@ -93,12 +93,18 @@ celix_status_t exportRegistration_stopTr
 		if (status != CELIX_SUCCESS) {
 		    logHelper_log(registration->loghelper, OSGI_LOGSERVICE_ERROR, "EXPORT_REGISTRATION:
Could not close endpoint tracker");
 		}
+		else {
+			status = serviceTracker_destroy(registration->endpointTracker);
+		}
 	}
 	if (registration->tracker != NULL) {
 		status = serviceTracker_close(registration->tracker);
 		if (status != CELIX_SUCCESS) {
 			logHelper_log(registration->loghelper, OSGI_LOGSERVICE_ERROR, "EXPORT_REGISTRATION:
Could not close service tracker");
 		}
+		else {
+			status = serviceTracker_destroy(registration->tracker);
+		}
 	}
 
 	return status;



Mime
View raw message