http://bugzilla.wpkg.org/show_bug.cgi?id=222

Rainer Meier <r.me...@wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |r.me...@wpkg.org
         Resolution|                            |FIXED

--- Comment #2 from Rainer Meier <r.me...@wpkg.org>  ---
I've just commited an update which should include your change:

FIX: Fixed termination of processes if timeout is reached.
     Fixes bug 222. Thanks to Stefan Pendl.


Note that I think your initial proposal would not work as the finally block is
never reached if return is used from within the timeout-detection loop:

if (count >= timeout) {
  return -1;
}


So I've changed it to use exception handling:

if (count >= timeout) {
  throw new Error("Timeout reached while executing.");
}

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to