incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r815843 - /sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
Date Wed, 16 Sep 2009 15:40:56 GMT
Author: bdelacretaz
Date: Wed Sep 16 15:40:56 2009
New Revision: 815843

URL: http://svn.apache.org/viewvc?rev=815843&view=rev
Log:
SLING-1078 - cleanup RegisteredResource when removed

Modified:
    sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java

Modified: sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java?rev=815843&r1=815842&r2=815843&view=diff
==============================================================================
--- sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
(original)
+++ sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerThread.java
Wed Sep 16 15:40:56 2009
@@ -360,6 +360,7 @@
             }
             for(RegisteredResource r : toDelete) {
                 group.remove(r);
+                r.cleanup();
                 if(ctx.getLogService() != null) {
                     ctx.getLogService().log(LogService.LOG_DEBUG,
                             "Removing RegisteredResource from list, not installable and has
been processed: " + r);



Mime
View raw message