Hi,
  I try to use the cleanupHook in  a form to clean up resource allocated during restoreHook or other places . I find that cform does not call cleanupHook if some exception happens before it. Reading the Form.js, I find cleanupHook is NOT wrapped in a finally statement. Is this a bug? Or there is other way to guarantee cleanupHook invocation.

Regards,
Rice

Reply via email to