aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1550861 - /aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java
Date Sat, 14 Dec 2013 01:03:00 GMT
Author: dkulp
Date: Sat Dec 14 01:02:59 2013
New Revision: 1550861

URL: http://svn.apache.org/r1550861
Log:
Cancel the future to release references

Modified:
    aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java

Modified: aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java?rev=1550861&r1=1550860&r2=1550861&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java
(original)
+++ aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintContainerImpl.java
Sat Dec 14 01:02:59 2013
@@ -848,6 +848,8 @@ public class BlueprintContainerImpl 
         synchronized (scheduled) {
             destroyed.set(true);
         }
+        cancelFutureIfPresent();
+
         eventDispatcher.blueprintEvent(new BlueprintEvent(BlueprintEvent.DESTROYING, getBundle(),
getExtenderBundle()));
         executors.shutdownNow();
         if (handlerSet != null) {



Mime
View raw message