gerrit/gerrit-sshd
David Pursehouse 1e2ead0a12 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-09-01 18:49:02 +09:00
..
src StreamEvents: Fix NPE when invoking the command with --help 2017-09-01 18:49:02 +09:00
BUILD Don't ship bouncycastle libraries in plugin API 2017-04-07 07:38:04 +02:00