base/base/src/main/com/thesett/util/log4j/SilentFailSocketAppender.java
public void cleanUp()
    {
        if (oos != null)
        {
            try
            {
                oos.close();
            }
            catch (IOException e)
            {
                LogLog.error("Could not close oos.", e);
            }

            oos = null;
        }

        if (connector != null)
        {
            // LogLog.debug("Interrupting the connector.");
            connector.interrupted = true;
            connector = null; // allow gc
        }
    }
public void cleanUp()
    {
        if (oos != null)
        {
            try
            {
                oos.close();
            }
            catch (IOException e)
            {
                LogLog.error("Could not close oos.", e);
            }

            oos = null;
        }

        if (connector != null)
        {
            // LogLog.debug("Interrupting the connector.");
            connector.interrupted = true;
            connector = null; // allow gc
        }
    }
public void cleanUp ( ) { if ( oos != null ) { try { oos . close ( ) ; } catch ( IOException e ) { LogLog . error ( "Could not close oos." , e ) ; } oos = null ; } if ( connector != null ) { // LogLog.debug("Interrupting the connector."); connector . interrupted = true ; connector = null ; // allow gc } }
Drop the connection to the remote host and release the underlying connector thread if it has been created.
Drop the connection to the remote host and release the underlying connector thread if it has been created .