* execution context has terminated.
*/
public synchronized void exitContext() {
if (useProfiler()) {
try {
Profiler profiler = (Profiler) Context.getCurrentContext().getDebugger();
String result = profiler.getResult();
ResponseTrans res = getResponse();
if (res != null) {
getResponse().debug("<pre>" + result + "</pre>");
}
app.logEvent("Profiler data for " + getRequest() + ":\n" + result);