Re: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Felipe Contreras
Hi, On Sun, Apr 22, 2012 at 3:07 PM, Justus Winter 4win...@informatik.uni-hamburg.de wrote: Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter 4win...@informatik.uni-hamburg.de ---  bindings/ruby/database.c |    2 +-  1 file changed, 1 insertion(+), 1

Re: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Justus Winter
Quoting Felipe Contreras (2012-04-23 14:36:33) I don't think this is the right approach. If database_destroy truly destroys the object, then we would want to do it only at garbage collection, when it's not accessible any more. What if I want to re-use the database from the Ruby code? This