commit 72722e2a423161a22fa6b7ce2193ff8ae02d26dc Author: Thomas Draebing Date: Wed Aug 12 15:56:52 2020 +0200 Register graceful shutdown for set reviewers command Change-Id: If1786afae874140204c466ea58a5a0ae92a955bf diff --git a/java/com/google/gerrit/sshd/commands/SetReviewersCommand.java b/java/com/google/gerrit/sshd/commands/SetReviewersCommand.java index 30caa43..5a04026 100644 --- a/java/com/google/gerrit/sshd/commands/SetReviewersCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetReviewersCommand.java @@ -96,6 +96,7 @@ public class SetReviewersCommand extends SshCommand { @Override protected void run() throws UnloggedFailure { + enableGracefulStop(); boolean ok = true; for (ChangeResource rsrc : changes.values()) { try {