On Wed, Feb 20, 2008 at 6:36 PM, Yves-Eric Martin <
[EMAIL PROTECTED]> wrote:

> Then, just invoke delete_worker when you need to, and if all is well, it
> should interrupt the running batch job, but your cleanup code *should*
> get executed before the worker finally dies. If it is not, I'd call it a
> BackgrounDRb bug, as it would be breaking some basic Ruby functionality.
>

Thanks! It's a good idea, but unfortunately, I only want cleanup to happen
when the worker is forceably deleted...not when it exits on its own. Ensure
would cleanup in both cases.

Thanks for your suggestion regardless.

John
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to