Hi.

On 2004/09/26, at 3:34, Ara.T.Howard wrote:

> any idea why this leaks memory?

>   class JobRunnerDaemon

>     def wait r
>       pid, status = Process::waitpid2 r.pid, 
> Process::WNOHANG|Process::WUNTRACED
>       @runners.delete pid
>       [pid, status]
>     end
>   end

WNOHANG|WUNTRACED?  How about this?

       pid, status = Process:waitpid2(r.pid)