解决选择设备时界面卡死问题

This commit is contained in:
luoliangyi 2023-08-25 09:47:41 +08:00
parent e6a3b4fc73
commit e802868cc6
1 changed files with 2 additions and 0 deletions

View File

@ -313,12 +313,14 @@ int close_ui(int which)
} }
else else
{ {
#if 0
QApplication::exit(); QApplication::exit();
HGBase_CloseThread(g_hThread); HGBase_CloseThread(g_hThread);
g_hThread = NULL; g_hThread = NULL;
HGBase_DestroyEvent(g_event); HGBase_DestroyEvent(g_event);
g_event = NULL; g_event = NULL;
#endif
} }
} }