From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 04:54:40 +0000 (-0500) Subject: don't destroy app communication server in main() destructor X-Git-Tag: v0.4~36 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=fc253ce0fd26aa660b249013f4c802e54eefc0e9;hp=fc253ce0fd26aa660b249013f4c802e54eefc0e9;p=ust.git don't destroy app communication server in main() destructor When doing this, it is likely the listener thread will still be running and printing errors because its fd's have been closed. Instead, do the destruction in the listener app and cleanly shut it down with pthread_cancel(). ---