* invokeAsync(): put running->true in original thread to avoid trap.

This commit is contained in:
hns 2007-03-28 20:54:43 +00:00
parent 80740b46a4
commit ecfa47bdc7

View file

@ -709,10 +709,10 @@ public class ApplicationBean implements Serializable {
final Object[] args,
final long timeout) {
final SystemMap map = new SystemMap();
map.put("running", Boolean.TRUE);
new Thread() {
public void run() {
RequestEvaluator reval = app.getEvaluator();
map.put("running", Boolean.TRUE);
try {
map.put("result", reval.invokeInternal(thisObject, function, args, timeout));
} catch (Exception x) {