public void closeMbox ( final OtpMbox mbox , final OtpErlangObject reason ) { if ( mbox != null ) { mboxes . remove ( mbox ) ; mbox . name = null ; mbox . breakLinks ( reason ) ; } }
Close the specified mailbox with the given reason .