Make RequestEvaluator survive broken/missing rhino.jar.

This commit is contained in:
hns 2008-12-03 14:06:19 +00:00
parent 9b8ef5d64c
commit 6b12ae32ea

View file

@ -630,7 +630,11 @@ public final class RequestEvaluator implements Runnable {
app.setCurrentRequestEvaluator(null);
// exit execution context
if (scriptingEngine != null) {
scriptingEngine.exitContext();
try {
scriptingEngine.exitContext();
} catch (Throwable t) {
// broken rhino, just get out of here
}
}
}
}