Add finalizers for disposable objects #13

Open
whitequark opened this Issue Jan 16, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@whitequark
Owner

whitequark commented Jan 16, 2013

ruby-llvm does not include finalizers anywhere, which leads to memory leaks. This was also discussed in jvoorhis/ruby-llvm#21.

@jvoorhis

This comment has been minimized.

Show comment Hide comment
@jvoorhis

jvoorhis Jan 16, 2013

Owner

See also the discussion at jvoorhis/ruby-llvm#12.

Owner

jvoorhis commented Jan 16, 2013

See also the discussion at jvoorhis/ruby-llvm#12.

@whitequark

This comment has been minimized.

Show comment Hide comment
@whitequark

whitequark Jan 16, 2013

Owner

I suggest at least adding finalizers to non-uniqued objects (which can't be returned twice from LLVM), and trapping #initialize_copy.

Owner

whitequark commented Jan 16, 2013

I suggest at least adding finalizers to non-uniqued objects (which can't be returned twice from LLVM), and trapping #initialize_copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment