commit 7892f5320df752883b47e1b29591313303f7b8eb Author: Thomas Draebing Date: Wed Aug 12 15:26:55 2020 +0200 Register graceful shutdown for create project command Change-Id: I8fbcae4e57dbbb91f841db19b4bbbb1de7beb6d0 diff --git a/java/com/google/gerrit/sshd/commands/CreateProjectCommand.java b/java/com/google/gerrit/sshd/commands/CreateProjectCommand.java index df86d63..ad7021b 100644 --- a/java/com/google/gerrit/sshd/commands/CreateProjectCommand.java +++ b/java/com/google/gerrit/sshd/commands/CreateProjectCommand.java @@ -166,6 +166,7 @@ final class CreateProjectCommand extends SshCommand { @Override protected void run() throws Failure { + enableGracefulStop(); try { if (!suggestParent) { if (projectName == null) {