Skip to content

Commit 7cfad6b

Browse files
authored
- Removing grpc_init() from places where it is no longer needed (#101)
1 parent 8f346f8 commit 7cfad6b

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ include("gen/test/test_pb.jl")
6262

6363
@testset "gRPCClient.jl" begin
6464

65-
# Initialize the global gRPCCURL structure
66-
grpc_init()
67-
6865
@testset "Code Generation" begin
69-
grpc_register_service_codegen()
7066
mktempdir() do tmpdir
7167
@test isnothing(protojl("proto/test.proto", @__DIR__, tmpdir))
7268
generated = read(joinpath(tmpdir, "test", "test_pb.jl"), String)

utils/gRPCClientUtils.jl/src/Benchmark.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ function perform_benchmark(f)
2828
end
2929

3030
function benchmark_table()
31-
grpc_init()
32-
3331
column_labels = [
3432
[
3533
"Benchmark",

utils/gRPCClientUtils.jl/src/Profile.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
function profile_memory_fn(f::Function)
2-
grpc_init()
3-
42
# Warmup
53
_ = f()
64

0 commit comments

Comments
 (0)