public void cleanup ( ) { synchronized ( _sslMap ) { for ( SslRelayOdo relay : _sslMap . values ( ) ) { if ( relay . getHttpServer ( ) != null && relay . isStarted ( ) ) { relay . getHttpServer ( ) . removeListener ( relay ) ; } } sslRelays . clear ( ) ; } }
Cleanup function to remove all allocated listeners