1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Merge pull request #1593 from domosekai/cm

This commit is contained in:
Yihong Wu 2022-05-26 12:54:09 +09:00 committed by GitHub
commit e74d9dec25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4251,9 +4251,6 @@ UINT CmMainWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *p
case WM_TIMER: case WM_TIMER:
switch (wParam) switch (wParam)
{ {
case 1:
CmSetForegroundProcessToCnService();
break;
case 2: case 2:
CmPollingTray(hWnd); CmPollingTray(hWnd);
break; break;
@ -11263,7 +11260,6 @@ void CmMainWindowOnInit(HWND hWnd)
CmInitNotifyClientThread(); CmInitNotifyClientThread();
// Timer setting // Timer setting
SetTimer(hWnd, 1, 128, NULL);
SetTimer(hWnd, 6, 5000, NULL); SetTimer(hWnd, 6, 5000, NULL);
// Initialize the task tray // Initialize the task tray