peterreilly    2003/12/24 02:38:05

  Modified:    src/main/org/apache/tools/ant UnknownElement.java
  Log:
  UnknownElement set the created task to null for gc , but did not
  set the RuntimeConfigurable's copy to null as well
  
  Revision  Changes    Path
  1.72      +1 -0      ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- UnknownElement.java       17 Dec 2003 15:36:34 -0000      1.71
  +++ UnknownElement.java       24 Dec 2003 10:38:05 -0000      1.72
  @@ -309,6 +309,7 @@
           // the task will not be reused ( a new init() will be called )
           // Let GC do its job
           realThing = null;
  +        getWrapper().setProxy(null);
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to