Arnaud Porterie 785f4eb416 Check channel closed state in /events loop
When listener channel is closed, it becomes always available for
reading: select becomes an active loop which writes default-constructed
events (i.e: empty strings).

Fixes #5766.

Docker-DCO-1.1-Signed-off-by: Arnaud Porterie <arnaud.porterie@gmail.com> (github: icecrime)
Upstream-commit: 8699f53e6a033a7b5b55a2b6356da7c6e220d01f
Component: engine
2014-05-14 22:35:04 +02:00
S
Description
The Docker CLI
358 MiB
Languages
Go 92.3%
Shell 5.4%
Dockerfile 1.1%
Go-Checksums 0.7%
Makefile 0.3%
Other 0.2%