public void shutdown ( ) { debugConnection = null ; shuttingDown = true ; try { if ( serverSocket != null ) { serverSocket . close ( ) ; } } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Shuts down the server . Active connections are not affected .