Use daemon threads instead of signals.
commit0aee445e6976b03f7e04bcab6ec40ecf14b5d1a4
authorLance Stout <lancestout@gmail.com>
Fri, 17 Dec 2010 03:21:50 +0000 (16 22:21 -0500)
committerLance Stout <lancestout@gmail.com>
Fri, 17 Dec 2010 03:21:50 +0000 (16 22:21 -0500)
tree28c5114ddde64af67a16e041f60edb61e4920fb0
parentcbc42c29fb02a6fd22a0c303e8d02364545c86cf
Use daemon threads instead of signals.

Daemonized threads exit once the main program has quit,
and the only threads left running are all daemon threads.

Should fix hanging clients while not trampling over anyone
else's signal handlers.
sleekxmpp/xmlstream/xmlstream.py