def hideEvent(self, event):
        """ Reimplemented to disconnect signal handlers and event filter.
        """
        super().hideEvent(event)
        # This fixes issue jupyter/qtconsole#383
        try:
            self._text_edit.cursorPositionChanged.disconnect(
                self._cursor_position_changed)
        except TypeError:
            pass
        self._text_edit.removeEventFilter(self)
 Reimplemented to disconnect signal handlers and event filter.
        
angrmanagement/vendor/qtconsole/call_tip_widget.py