gerrit/gerrit-sshd
David Pursehouse fba335dcc3 StreamEvents: Fix NPE when invoking the command with --help
When executing the command:

  ssh user@host gerrit stream-events --help

the onExit and destroy methods attempt to remove the event listener
registration which has not been initialized, resulting in NPE and
the command hanging.

Add null checks to prevent this.

Change-Id: I1b9ccd41d017e62f0a4206114ab15faa6ed8e000
2017-08-31 10:06:36 +09:00
..
src StreamEvents: Fix NPE when invoking the command with --help 2017-08-31 10:06:36 +09:00
BUILD Split out build rule for metrics interfaces 2017-08-16 08:20:38 -04:00