Remove tasks and targets from the hashtables when the task/target finished event arrives. PR: 25086 (a patch provided in one of the comments) Obtained from: Artur Lorincz git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276063 13f79535-47bb-0310-9956-ffa450edef68master