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
..
2019-03-29 08:27:33 -04:00
2021-01-14 15:35:33 -05:00
2021-01-12 11:48:53 -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
2021-01-14 15:35:33 -05:00
2021-01-25 15:44:42 -05:00
2021-01-14 15:35:33 -05:00
2020-12-22 13:34:31 -05:00
2019-01-18 15:43:11 -06:00
2021-01-14 15:35:33 -05:00
2020-07-28 08:23:45 -04:00
2021-01-14 13:37:16 -05:00
2020-07-28 08:23:45 -04:00
2020-12-22 13:34:31 -05:00
2021-01-07 05:53:50 -05:00
2020-07-28 08:23:45 -04:00
2020-07-28 08:23:45 -04:00
2021-01-14 15:35:33 -05:00
2020-09-10 13:02:31 -04:00
2021-01-22 08:08:27 +01:00
2020-07-23 10:18:14 -04:00
2020-12-07 19:26:23 +01:00
2021-01-14 15:35:33 -05:00
2018-07-31 14:19:50 +00:00
2020-10-02 10:05:19 -04:00
2020-07-28 08:23:45 -04:00
2021-01-07 00:04:38 +01:00
2020-11-26 16:50:42 -05:00
2020-12-22 13:34:31 -05:00
2018-07-31 14:19:50 +00:00
2020-12-22 13:34:31 -05:00
2020-12-24 13:39:15 +01:00
2020-10-15 09:51:15 -04:00
2020-11-19 08:16:19 -06:00
2020-11-23 10:26:02 -08:00
2020-07-28 08:23:45 -04:00
2020-10-30 05:34:04 -04:00
2021-01-12 16:11:09 +01:00
2020-12-22 08:13:14 -05:00
2020-12-22 13:34:31 -05:00
2018-11-26 13:55:02 +01:00
2021-01-23 18:28:56 +01:00
2020-12-07 19:26:23 +01:00
2021-01-12 10:38:32 +01:00
2020-09-10 17:54:47 -04:00
2021-01-12 10:38:32 +01:00
2021-01-12 13:15:35 -05:00
2020-09-04 15:04:36 -04:00
2020-06-25 17:16:12 +02:00
2020-08-27 12:50:22 -04:00
2021-01-12 16:10:17 +02:00
2021-01-07 05:53:50 -05:00
2021-01-14 15:35:33 -05:00
2020-11-18 18:06:06 +08:00
2020-07-28 08:23:45 -04:00
2020-10-21 13:31:40 -04:00
2020-12-22 13:34:31 -05:00
2020-07-28 08:23:45 -04:00
2020-10-02 15:14:18 -04:00
2020-12-16 15:09:37 -05:00
2021-01-14 17:45:30 +01:00
2020-12-03 06:28:09 -05:00
2021-01-14 18:29:28 -05:00
2020-07-28 08:23:45 -04:00
2021-01-12 17:38:32 -05:00
2020-12-02 14:18:37 -05:00
2020-12-02 14:18:37 -05:00
2021-01-04 15:29:18 -05:00
2020-12-03 06:28:09 -05:00
2020-07-28 08:23:45 -04:00
2020-07-28 08:23:45 -04:00
2020-07-28 08:23:45 -04:00
2021-01-14 15:35:33 -05:00
2020-07-28 08:23:45 -04:00
2020-12-30 19:57:35 -06:00
2021-01-25 15:44:42 -05:00
2020-12-22 13:34:31 -05:00
2020-11-11 16:37:54 -05:00
2020-07-28 08:23:45 -04:00
2020-12-07 15:16:20 +01:00
2020-07-28 08:23:45 -04:00
2020-09-13 23:24:15 -04:00
2020-09-13 23:24:15 -04:00
2020-07-28 08:23:45 -04:00
2020-07-28 08:23:45 -04:00
2020-12-29 20:33:27 +01:00
2021-01-14 15:35:33 -05:00
2021-01-14 15:35:33 -05:00
2020-07-28 08:23:45 -04:00
2021-01-14 15:35:33 -05:00
2021-01-14 15:35:33 -05:00