openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yingw...@apache.org
Subject svn commit: r996722 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
Date Mon, 13 Sep 2010 23:41:39 GMT
Author: yingwang
Date: Mon Sep 13 23:41:38 2010
New Revision: 996722

URL: http://svn.apache.org/viewvc?rev=996722&view=rev
Log:
[owb-452] reset active flag when context is destroyed.

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java?rev=996722&r1=996721&r2=996722&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
Mon Sep 13 23:41:38 2010
@@ -286,7 +286,8 @@ public abstract class AbstractContext im
         }
         
         //Clear context map
-        this.componentInstanceMap.clear();        
+        this.componentInstanceMap.clear();
+        this.setActive(false);       
     }
 
     /**



Mime
View raw message