Stop SshCommandDestroy thread pool on server shutdown

This avoids leaking the thread during acceptance tests.

Change-Id: I18a7f57bc6b381f28006a20b6cffda0be6b3fb46
This commit is contained in:
Shawn Pearce
2013-07-29 22:29:54 -07:00
committed by Dave Borowitz
parent d46c321e32
commit a206e11fad
2 changed files with 17 additions and 3 deletions

View File

@@ -107,6 +107,7 @@ public class SshModule extends FactoryModule {
listener().toInstance(registerInParentInjectors());
listener().to(SshLog.class);
listener().to(SshDaemon.class);
listener().to(CommandFactoryProvider.class);
}
});
}