<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 12:49 PM, Jun Wu <span dir="ltr"><<a href="mailto:quark@fb.com" target="_blank">quark@fb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1qf" class="a3s aXjCH m15b596a19fe0d7a8">I wonder if it's better if the global state is moved to a "dispatch.request"<br>
or "ui" object. That may give threaded request handlers more confidence.</div></blockquote><div><br></div><div>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.</div></div></div></div>