mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Feature: Support upload/download executable file and run it
This commit is contained in:
@@ -331,10 +331,9 @@ DWORD WINAPI CScreenManager::WorkThreadProc(LPVOID lParam)
|
||||
clock_t last_check = clock();
|
||||
timeBeginPeriod(1);
|
||||
while (This->m_bIsWorking) {
|
||||
if (!This->IsConnected()) {
|
||||
Sleep(50);
|
||||
continue;
|
||||
}
|
||||
WAIT_n(This->m_bIsWorking && !This->IsConnected(), 6, 200);
|
||||
if (!This->IsConnected()) This->OnReconnect();
|
||||
if (!This->IsConnected()) continue;
|
||||
if (!This->m_SendFirst && This->IsConnected()) {
|
||||
This->m_SendFirst = TRUE;
|
||||
This->SendBitMapInfo();
|
||||
|
||||
Reference in New Issue
Block a user