[Web-SIG] A 'shutdown' function in WSGI
Tarek Ziadé
ziade.tarek at gmail.com
Tue Feb 21 14:51:09 CET 2012
On Tue, Feb 21, 2012 at 2:46 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> here's a very simple demo: http://tarek.pastebin.mozilla.org/1489505
>
There are two typos but the effect remains the same since you are locked
before you reach those lines:
- atexit call worker.stop() instead of worker.join()
- in worker.stop(), it calls worker.join() instead of worker.join(self)
--
Tarek Ziadé | http://ziade.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20120221/58805e99/attachment.html>
More information about the Web-SIG
mailing list