mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
ruby: Use notmuch_database_destroy instead of notmuch_database_close
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
parent
22f73735c5
commit
288feb7cdf
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ notmuch_rb_database_close (VALUE self)
|
|||
notmuch_database_t *db;
|
||||
|
||||
Data_Get_Notmuch_Database (self, db);
|
||||
notmuch_database_close (db);
|
||||
notmuch_database_destroy (db);
|
||||
DATA_PTR (self) = NULL;
|
||||
|
||||
return Qnil;
|
||||
|
|
Loading…
Reference in a new issue