Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Feb 25, 2024
1 parent 448df31 commit 8d11d94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CGAssistant/psworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ void CProcessWorker::OnQueueQueryProcess()
int port = 0;
quint32 hwnd = 0;

if(ReadSharedData(pid, port, hwnd) && g_CGAInterface->IsConnected() && g_CGAInterface->GetPort() == port)
if(ReadSharedData(pid, tid, port, hwnd) &&
g_CGAInterface->IsConnected() &&
g_CGAInterface->GetPort() == port)
{
if(hwnd != GetAttachedHwnd()){

Expand Down

0 comments on commit 8d11d94

Please sign in to comment.