Files
podman/pkg/api/server
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-07 05:37:24 -05:00
2020-11-19 14:42:56 -07:00
2020-11-19 14:42:56 -07:00
2020-12-22 13:34:31 -05:00
2021-01-22 20:19:13 +01:00
2021-01-19 15:18:03 +01:00
2021-01-21 19:18:51 +01:00
2021-01-13 09:35:24 -06:00