cocoon-dev mailing list archives

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

Mime
View raw message