Uninstalls the editor extension from the editor.

def on_uninstall(self):
        """Uninstalls the editor extension from the editor."""
        self._on_close = True
        self.enabled = False
        self._editor = None