mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +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:
|
case <-sigchan:
|
||||||
resizeEvent = getResize()
|
resizeEvent = getResize()
|
||||||
case resize <- *resizeEvent:
|
case resize <- *resizeEvent:
|
||||||
|
resizeEvent = nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user