Skip to content

Commit

Permalink
track client creation too
Browse files Browse the repository at this point in the history
  • Loading branch information
glou-nes committed Dec 11, 2024
1 parent 6c72106 commit 9f3b38f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XLA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ mutable struct Client
client::Ptr{Cvoid}

function Client(client::Ptr{Cvoid})
@info "create client $client"
@assert client != C_NULL
client = new(client)
finalizer(client) do client
Expand Down

0 comments on commit 9f3b38f

Please sign in to comment.