An object must not have a thread when it is destroyed
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 24 Aug 2008 13:18:26 +0000 (16:18 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 25 Aug 2008 16:41:45 +0000 (19:41 +0300)
commita7d75d8f48a0cc7eff28fdc7bd95798aa18ad4a7
treeba31855b902bc8ffd991d2852e772c8eaeb3bfe4
parentd745c19b21432e69b27af4f92782c4814fc24d0d
An object must not have a thread when it is destroyed

Assert rather than invoke a crashy work-around.
Also allow the type-specific cleanup function to join the thread.
src/misc/objects.c