(self)
Frees the stream's resources rendering it unusable.
Frees the stream's resources rendering it unusable.
Frees the stream s resources rendering it unusable .
def _cleanup(self):
        """
        Frees the stream's resources rendering it unusable.
        """
        self.message = None
        if self._parser is not None:
            self._parser.close()
            self._parser = None
        self.errors = None
        self.pings = None
        self.pongs = None
        self.closing = None
def _cleanup ( self ) : self . message = None if self . _parser is not None : self . _parser . close ( ) self . _parser = None self . errors = None self . pings = None self . pongs = None self . closing = None