mirror of
https://github.com/opencontainers/runc.git
synced 2025-11-02 20:04:01 +08:00
Merge pull request #2284 from tedyu/criu-svr-close
Avoid double close of criuServer
This commit is contained in:
@@ -1498,7 +1498,6 @@ func (c *linuxContainer) criuSwrk(process *Process, req *criurpc.CriuReq, opts *
|
||||
if err := cmd.Start(); err != nil {
|
||||
return err
|
||||
}
|
||||
criuServer.Close()
|
||||
// cmd.Process will be replaced by a restored init.
|
||||
criuProcess := cmd.Process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user