557
556
wait_dialog.setAutoClose(False)
558
557
wait_dialog.setCancelButton(None)
561
560
log.debug('Waiting for thread %s', thread_name)
562
561
self.application.processEvents()
566
565
if worker and hasattr(worker, 'stop'):
567
566
# If the worker has a stop method, run it