Improve synchronization in sshd DispatchCommand.

The ssh commands have synchronization because destroy() can run in a
different thread than start(). Simplify the DispatchCommand
synchronization by using an AtomicReference.

Change-Id: Ief57303f0f7215822584af746db0567b806612b0
1 file changed