cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh" <>
Subject [cforms] cleanupHook NOT called when exception occurs
Date Sun, 17 Sep 2006 17:36:20 GMT
  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.


View raw message