Fixed grpc leak detection

This commit is contained in:
SChernykh
2025-07-15 10:18:04 +02:00
parent e5d582b6c1
commit 752d6a9d05

View File

@@ -80,8 +80,11 @@ struct TrackedAllocation
printf("%-25s %s (line %lu)\n", file_name ? file_name : line.FileName, s, line.LineNumber); printf("%-25s %s (line %lu)\n", file_name ? file_name : line.FileName, s, line.LineNumber);
if (!is_grpc && ((strstr(s, "grpc::") == s) || (strstr(s, "grpc_core::") == s) || (strstr(s, "grpc_init") == s))) { if (!is_grpc) {
is_grpc = true; is_grpc = (strstr(s, "grpc::") == s) ||
(strstr(s, "grpc_core::") == s) ||
(strstr(s, "grpc_event_engine::") == s) ||
(strstr(s, "grpc_init") == s);
} }
} }
} }