check: Fixup the shutting down order
authorEdward Hervey <bilboed@bilboed.com>
Sun, 5 Dec 2010 13:39:19 +0000 (14:39 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 5 Dec 2010 13:45:07 +0000 (14:45 +0100)
commit1d0f79478f9abd5eaa70f4f08d747086be701083
tree886df4748e321675fc019a2ea16390c7d3e7c65d
parentab69275f4d76a882028d7c1b8ba37e61312e90ba
check: Fixup the shutting down order

First bring down everything to NULL before attempting to unlink
or unref anything.

Avoids the tests just hanging there for ever waiting to acquire a
lock that doesn't exist anymore.
tests/check/elements/interleave.c