def METHOD_NAME(self, _event=None):
    if self._shutting_down:
        return
    should_close = True
    if self.tab.save_needed:
        should_close = self.should_close()
    if not should_close:
        return
    self._shutting_down = True
    logger.info("Shutting Down.")
    for handler in self._shutdown_handlers:
        handler()
    self.root.METHOD_NAME()
    self.root.destroy()