eff5e7e0f3
Make sure that we consistently mark the client as NULL when it's destroyed, and destroy it on process exit as well, so we have a consistent state. Signed-off-by: Daniel Stone <daniels@collabora.com>