Fixed grpc leak detection
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user