|summary:||Each Rails application deploy/undeploy leaks memory. These fixes are related to that.|
|date:||2009-01-23 23:14:35 UTC (5 years)|
|message:||Each Rails application deploy/undeploy leaks memory. These fixes are related to that.
* VsAdapter calls apps.remove(app) during unregister undeploy of ApplicationContainer and the associated Grizzly Adapter. Problem is that it uses ApplicationContainer as key, where as the HashMap key is Adapter so it never gets removed. This is causing mem leaks, pretty bad one.
* Also, in ModuleInfo.start(), there is 2 times registration happening the second one should happen only if the first one fails (although I dont see the meaning of the second one).