[PATCH 1 of 9] atexit: add special-purpose atexit functionality to util
bos at serpentine.com
Mon Apr 10 16:15:56 EDT 2017
On Mon, Apr 10, 2017 at 12:49 PM, Jun Wu <quark at fb.com> wrote:
> I wonder if it's better if the global state is moved to a
> or "ui" object. That may give threaded request handlers more confidence.
The new atexit code is only run during process exit. I was careful to
ensure that I wasn't accidentally running it at the end of e.g. every web
or chg request, but if they somehow arose, such cases would result in a
process crash and test failure.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mercurial-devel