Files
Matthew Heon 5350254f05 Ensure shutdown handler access is syncronized
There was a potential race where two handlers could be added at
the same time. Go Maps are not thread-safe, so that could do
unpleasant things. Add a mutex to keep things safe.

Also, swap the order or Register and Start for the handlers in
Libpod runtime created. As written, there was a small gap between
Start and Register where SIGTERM/SIGINT would be completely
ignored, instead of stopping Podman. Swapping the two closes this
gap.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2021-01-25 15:44:42 -05:00
..
2021-01-04 13:27:38 -06:00
2021-01-22 20:19:13 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2020-10-05 15:30:37 -07:00
2020-12-23 14:04:32 -06:00
2021-01-25 08:51:15 -06:00
2020-12-22 13:34:31 -05:00
2020-12-22 13:34:31 -05:00
2020-12-22 13:34:31 -05:00
2020-12-22 13:34:31 -05:00
2020-12-22 13:34:31 -05:00
2020-10-21 13:31:40 -04:00
2020-12-22 13:34:31 -05:00
2020-10-02 15:14:18 -04:00
2020-12-22 13:34:31 -05:00
2020-12-07 15:16:20 +01:00