#NEWLINE# def closed( self , code , reason = None ) : #NEWLINE# #INDENT# logger . debug ( ( '%s: Websocket closed() called' % self . request_id ) ) #NEWLINE# self . finish_request ( ) #NEWLINE# logger . debug ( ( '%s: Websocket closed() finished' % self . request_id ) )