]> the.earth.li Git - mqtt-arp.git/commitdiff
Add support for clean shutdown via SIGTERM
authorJonathan McDowell <noodles@earth.li>
Wed, 30 May 2018 19:53:02 +0000 (20:53 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 31 May 2018 07:12:16 +0000 (08:12 +0100)
Catch SIGTERM to allow ourselves to do an orderly shutdown. This isn't
useful in general operation (as a TERM will do all this cleanup anyway)
but allows for testing under valgrind to ensure no leaks or invalid
accesses.


No differences found