Fix issue on read partition on gui for thread not waiting

This commit is contained in:
Bjoern Kerler 2021-12-27 00:32:33 +01:00
parent 523b022dee
commit f2536d135a

View file

@ -95,6 +95,7 @@ class ReadFlashWindow(QDialog):
self.dumpStatus["allPartitions"][partition]['done'] = True
# MtkTool.cmd_stage(mtkClass, None, None, None, False)
self.dumpStatus["done"] = True
thread.wait()
def __init__(self, parent, mtkClass, da_handler, sendToLog): # def __init__(self, *args, **kwargs):
super(ReadFlashWindow, self).__init__(parent)