-
Committer:
Christopher James Halse Rogers
-
Date:
2014-09-02 07:19:22 UTC
-
Revision ID:
christopher.halse.rogers@canonical.com-20140902071922-1p2q9arfxerkh2qb
Use SIGPIPE rather than SIGHUP for disconnect signal.
Signals are the worst possible API, so don't use them, people! Register a lifecycle callback
and wait for mir_lifecycle_connection_lost to detect server disconnects!
For clients that just don't care, use SIGPIPE. That's what libwayland and libX11 use.