Improve remote control ScreenSpyDlg reconnect logic

This commit is contained in:
yuanyuanxiang
2026-01-11 23:47:12 +01:00
parent bab7279c2a
commit da2184c39e
4 changed files with 65 additions and 14 deletions

View File

@@ -165,8 +165,8 @@ public:
}
void OnClose()
{
m_bConnected = FALSE;
m_bIsClosed = true;
m_bConnected = FALSE;
while (m_bIsProcessing)
Sleep(200);
if(m_hIcon) DestroyIcon(m_hIcon);