celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abroekh...@apache.org
Subject svn commit: r1620414 - /celix/trunk/framework/private/src/service_registry.c
Date Mon, 25 Aug 2014 18:59:07 GMT
Author: abroekhuis
Date: Mon Aug 25 18:59:07 2014
New Revision: 1620414

URL: http://svn.apache.org/r1620414
Log:
Removed unneeded call to remove a service reference from the registry.

Modified:
    celix/trunk/framework/private/src/service_registry.c

Modified: celix/trunk/framework/private/src/service_registry.c
URL: http://svn.apache.org/viewvc/celix/trunk/framework/private/src/service_registry.c?rev=1620414&r1=1620413&r2=1620414&view=diff
==============================================================================
--- celix/trunk/framework/private/src/service_registry.c (original)
+++ celix/trunk/framework/private/src/service_registry.c Mon Aug 25 18:59:07 2014
@@ -444,8 +444,6 @@ celix_status_t serviceRegistry_ungetServ
 
 	usage->count--;
 
-	serviceRegistry_removeReference(reference);
-
 	if ((serviceRegistration_isValid(registration)) || (usage->count <= 0)) {
 		usage->service = NULL;
 		serviceRegistry_flushUsageCount(registry, bundle, reference);



Mime
View raw message