Author: jason.greene(a)jboss.com
Date: 2007-03-09 16:49:19 -0500 (Fri, 09 Mar 2007)
New Revision: 2576
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java
Log:
Fix memory leak
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java
===================================================================
---
trunk/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java 2007-03-09
15:00:04 UTC (rev 2575)
+++
trunk/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointDeployer.java 2007-03-09
21:49:19 UTC (rev 2576)
@@ -205,6 +205,7 @@
epManager.destroyServiceEndpoint(sepID);
}
}
+ removeUnifiedMetaData(udi);
}
}
catch (Exception ex)
@@ -222,4 +223,9 @@
UnifiedMetaData wsMetaData = metaDataMap.get(udi.name);
return wsMetaData;
}
+
+ public void removeUnifiedMetaData(UnifiedDeploymentInfo udi)
+ {
+ metaDataMap.remove(udi.name);
+ }
}
\ No newline at end of file
Show replies by date