Make RequestEvaluator survive broken/missing rhino.jar.
This commit is contained in:
parent
9b8ef5d64c
commit
6b12ae32ea
1 changed files with 5 additions and 1 deletions
|
@ -630,7 +630,11 @@ public final class RequestEvaluator implements Runnable {
|
||||||
app.setCurrentRequestEvaluator(null);
|
app.setCurrentRequestEvaluator(null);
|
||||||
// exit execution context
|
// exit execution context
|
||||||
if (scriptingEngine != null) {
|
if (scriptingEngine != null) {
|
||||||
scriptingEngine.exitContext();
|
try {
|
||||||
|
scriptingEngine.exitContext();
|
||||||
|
} catch (Throwable t) {
|
||||||
|
// broken rhino, just get out of here
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue