def on_ProgressDialog_handle_destroy(self, *_args):
        self._terminate.set()
        self.top_widget = None
        return False
Called when the window is destroyed.
dataset/ETHPy150Open thesamet/webilder/src/webilder/progress_dialog.py/ProgressDialog.on_ProgressDialog_handle_destroy