Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/llvm/builder.cr
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,12 @@ class LLVM::Builder
LibLLVM.dispose_builder(@unwrap)
end

def finalize
return if @disposed
Comment thread
JarnaChao09 marked this conversation as resolved.
Outdated

dispose
end

# The next lines are for ease debugging when a types/values
# are incorrectly used across contexts.

Expand Down