libnotmuch: add thread.Close method Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
1 files changed, 4 insertions(+), 0 deletions(-) M libnotmuch/thread.go
M libnotmuch/thread.go => libnotmuch/thread.go +4 -0
@@ 91,3 91,7 @@ func (t *Thread) Tags() []string { } return tags } + +func (t *Thread) Close() { + C.notmuch_thread_destroy(t.thread) +}