zeromq/czmq — pull request #498 by hintjens (2014-06-01 11:51:40+00:00)
Title: Problem: under some debuggers, asserts in zsys_close

Valgrind, for instance, delays threads randomly at exit, so the
atexit handler can be called while child threads are still alive
and this leads to assert failures in zsys_close when zactor
tries to close its pipe.

Solution: allow zsys_close() after atexit handler has run.