commit | 469316fae0404d3631de87611bbe117e6eab957c | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed May 17 14:51:31 2017 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Fri May 19 14:40:18 2017 +0200 |
tree | 58683d8d59cd07208d3f71acfa170ee422456fac | |
parent | 0ffb41440661631fa1d520c152be4cf8ebd4c46b [diff] |
Handle termination signals to exit gracefully and prevent resource leak Make sure we free the reserved resources and kill launched subprocesses before stopping. Before this patch it was not the case for instance if we received a SIGTREM signal from kill. Change-Id: I039e4d1908a04bf606b101ddc6a186ba67e6178e