删除客户端的bug

This commit is contained in:
snltty
2023-11-14 17:30:12 +08:00
parent fd191cc50f
commit 3e1d9aa9d4
26 changed files with 171 additions and 233 deletions

View File

@@ -25,6 +25,7 @@ namespace cmonitor.server.api.services
for (int i = 0; i < report.Names.Length; i++)
{
bool connectionRes = signCaching.Get(report.Names[i], out SignCacheInfo cache) && cache.Connected;
if (connectionRes == false) continue;
bool reportRes = cache.GetScreen(config.ScreenDelay) && Interlocked.CompareExchange(ref cache.ScreenFlag, 0, 1) == 1;
if (connectionRes && reportRes)