telldus/telldus — pull request #7 by stromnet (2014-03-24 20:31:38+00:00)
Title: Add shutdown signaling to unix socket, removing quit delay in tdtool

Not sure if something else depends on the sockets returning final data, while shutting down?

Works fine on FreeBSD at least, might want to test on other *NIX/Linux.

Solves the problem with tdtool hanging for a few seconds on exit (since EventSocket in Client::run is blocking; not even used in tdtool?)