Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Better way to disable Zombie timer at mojit level #1091

Open
dormfood opened this issue May 2, 2013 · 3 comments
Open

Better way to disable Zombie timer at mojit level #1091

dormfood opened this issue May 2, 2013 · 3 comments

Comments

@dormfood
Copy link

dormfood commented May 2, 2013

It may come to a situation where the developers want to handle the http response by themselves, and calling actionContext.done will be a problem.
Per discussion with Caridy, currently there is no good way to disable the zombie detection in mojit level except for hacking action context. Maybe this can be done in a cleaner api call.

Please help label this as an "enhancement"

Thanks,
Steven

@caridy
Copy link
Contributor

caridy commented May 3, 2013

Though: "The enhancement here is really about been able to call ac.done with a noop signal when the output has been sent thru another channel."

@caridy
Copy link
Contributor

caridy commented May 19, 2013

Workaround to signal the end of the process:

clearTimeout(ac._timer);

@ooskapenaar
Copy link

+1

Jbtw: That workaround does not seem to work in arbitrary child controllers 0.5.x, 0.7.1 (i.e. all our controllers are under HTMLFrameMojit, and there this call does not help, working with clones, or something?).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants