Merge pull request #3610 from Random-Liu/fix-containerd-panic

Fix potential containerd panic during graceful shutdown.
This commit is contained in:
Michael Crosby
2019-09-03 09:57:47 -04:00
committed by GitHub

View File

@@ -58,6 +58,7 @@ func handleSignals(ctx context.Context, signals chan os.Signal, serverC chan *se
}
server.Stop()
close(done)
return
}
}
}