[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Small question about os.exit and __gc
- From: Tim Hill <drtimhill@...>
- Date: Fri, 14 Mar 2014 12:49:07 -0700
On Mar 14, 2014, at 6:39 AM, Coroutines <firstname.lastname@example.org> wrote:
> Responding to your reply and Luiz':
> - I could wrap os.exit() but the wrapper would only be assigned over
> the original os.exit() potentially after libraries that reference the
> original os.exit() have been require'd in. That said I do agree with
> the default-no-cleanup, 2nd parameter to os.exit().
> - Other things to consider that might get left around after process
> cleanup/exit would be things like shared memory segments.
> Okay I'm done, was just interested in this post :-)
I’m not entirely sure I would ever trust using ANY library that called os.exit() underneath me without warning.