commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r820666 - /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
Date Thu, 01 Oct 2009 14:17:10 GMT
Author: mturk
Date: Thu Oct  1 14:17:09 2009
New Revision: 820666

URL: http://svn.apache.org/viewvc?rev=820666&view=rev
Log:
Dereference any attached context on close/finalize

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java?rev=820666&r1=820665&r2=820666&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
Thu Oct  1 14:17:09 2009
@@ -117,6 +117,7 @@
         throws Throwable
     {
         close1();
+        CONTEXT = null;
     }
 
     /**
@@ -133,6 +134,7 @@
         throws IOException
     {
         close0();
+        CONTEXT = null;
     }
 
     /**



Mime
View raw message