fix trivial mistake that was breaking the hot-redeploy of contexts.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1221 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Hugues Malphettes 2010-01-28 05:59:21 +00:00
parent 163b50e119
commit 2b09905deb
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,10 @@ public abstract class ScanningAppProvider extends AbstractLifeCycle implements A
{
Log.debug("changed ",filename);
App app = _appMap.remove(filename);
if (app != null)
{
_deploymentManager.removeApp(app);
}
app = ScanningAppProvider.this.createApp(filename);
if (app != null)
{