You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/10/01 16:17:10 UTC

svn commit: r820666 - /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java

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;
     }
 
     /**