Skip to content

Commit 24f7585

Browse files
Merge pull request #3610 from Random-Liu/fix-containerd-panic
Fix potential containerd panic during graceful shutdown.
2 parents 95301fe + dd24d76 commit 24f7585

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/containerd/command/main_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func handleSignals(ctx context.Context, signals chan os.Signal, serverC chan *se
5858
}
5959
server.Stop()
6060
close(done)
61+
return
6162
}
6263
}
6364
}

0 commit comments

Comments
 (0)