()
Stop the listening server which was created with a call to listen().
Stop the listening server which was created with a call to listen().
Stop the listening server which was created with a call to listen () .
def stopListening():
    """
    Stop the listening server which was created with a call to listen().
    """
    global _listener
    logging._acquireLock()
    try:
        if _listener:
            _listener.abort = 1
            _listener = None
    finally:
        logging._releaseLock()
def stopListening ( ) : global _listener logging . _acquireLock ( ) try : if _listener : _listener . abort = 1 _listener = None finally : logging . _releaseLock ( )