mirror of https://github.com/containers/podman.git
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 New Issue