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);