mirror of
https://github.com/containers/podman
synced 2024-10-21 17:53:44 +00:00
Merge pull request #1020 from giuseppe/resize-fix-loop
utils: fix endless write of resize event
This commit is contained in:
commit
183cde0c68
|
@ -182,6 +182,7 @@ func resizeTty(ctx context.Context, resize chan remotecommand.TerminalSize) {
|
|||
case <-sigchan:
|
||||
resizeEvent = getResize()
|
||||
case resize <- *resizeEvent:
|
||||
resizeEvent = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue