mirror of
https://github.com/containers/podman.git
synced 2025-08-24 18:12:25 +08:00

This is not needed and was added by during debugging but it turned out to be something else. We should not lock the thread unless needed because this just raises question why it is here otherwise. Also the lock would not do much as we spawn a goroutine below anyway so it runs on another thread no matter what. From the review comment by Miloslav but it was merged before I had the chance to fix it: https://github.com/containers/podman/pull/24406#discussion_r1828102666 Signed-off-by: Paul Holzinger <pholzing@redhat.com>