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
commit 24f7585ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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