podman/pkg/rootlessport
Giuseppe Scrivano 6d545bb2f7
rootlessport: use two different channels
The same channel is written to by two different goroutines.

Use a different channel for each of them so to avoid writing to a
closed channel.

Closes: https://github.com/containers/libpod/issues/6018

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-29 12:35:23 +02:00
..
rootlessport_linux.go rootlessport: use two different channels 2020-04-29 12:35:23 +02:00