def _handle_kernel_restarted(self, died=True):
        """Notice that the autorestarter restarted the kernel.

        There's nothing to do but show a message.
        """
        self.log.warning("kernel restarted")
        self._kernel_restarted_message(died=died)

        # This resets the autorestart counter so that the kernel can be
        # auto-restarted before the next time it's polled to see if it's alive.
        if self.kernel_manager:
            self.kernel_manager.reset_autorestart_count()

        self.reset()
Notice that the autorestarter restarted the kernel.

        There's nothing to do but show a message.
        
angrmanagement/vendor/qtconsole/frontend_widget.py