GUI: Unify Yield() calls

This commit is contained in:
Mykola Grymalyuk
2023-05-18 16:06:33 -06:00
parent 300726ea96
commit 11bc64f8e6
7 changed files with 12 additions and 13 deletions

View File

@@ -263,7 +263,7 @@ class InstallOCFrame(wx.Frame):
thread.start()
while thread.is_alive():
wx.GetApp().Yield()
wx.Yield()
if self.result is True:
if self.constants.update_stage != gui_support.AutoUpdateStages.INACTIVE: