shell: Handle the desktop shell client destroy signal
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 20 Dec 2013 19:07:01 +0000 (21:07 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 22 Dec 2013 21:45:36 +0000 (13:45 -0800)
commit312ea4ca42f87be5b03cbba4b48447bd9dc24097
tree89feea27af0c4c3394a0c6b014c52ba94bcc6f68
parent18536764b48370db3f575d3f98e733af714bc280
shell: Handle the desktop shell client destroy signal

Set the internal pointer for the client to NULL. This fixes a
segmentation fault at shutdown, where the shell would hang up before
and cause libwayland to call wl_client_destroy(). When the shell was
destroyed later, another call to wl_client_destroy() would cause the
crash.

https://bugs.freedesktop.org/show_bug.cgi?id=72550
desktop-shell/shell.c
desktop-shell/shell.h