Fix: TestRun run as windows service can't unlock screen

This commit is contained in:
shaun
2025-12-29 17:54:47 +01:00
committed by yuanyuanxiang
parent 4ae97abcc6
commit 2b4f061f82
13 changed files with 92 additions and 26 deletions

View File

@@ -346,7 +346,7 @@ public:
}
virtual bool IsEqual(context *ctx) const
{
return this == ctx || (GetPeerName() == ctx->GetPeerName() && GetPort() == ctx->GetPort());
return this == ctx || this->GetPort() == ctx->GetPort();
}
};