Commit 6f905932af54ee04c42827974b193ba3d696bf46

Con Kolivas 2011-07-27T08:32:25

Only free the thread structures if the thread still exists.