mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +08:00
utils: fix endless write of resize event
issue introduced with c82166afabd63f6271990be89ffa6609d3dc6712 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -182,6 +182,7 @@ func resizeTty(ctx context.Context, resize chan remotecommand.TerminalSize) {
|
||||
case <-sigchan:
|
||||
resizeEvent = getResize()
|
||||
case resize <- *resizeEvent:
|
||||
resizeEvent = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user