From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id /Wg0B2gj5WBVHQAAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 05:45:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AGFMAmgj5WCVawAAbx9fmQ (envelope-from ) for ; Wed, 07 Jul 2021 03:45:44 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C62EDD466 for ; Wed, 7 Jul 2021 05:45:43 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BAC7C290D9; Tue, 6 Jul 2021 23:45:38 -0400 (EDT) Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by mail.notmuchmail.org (Postfix) with ESMTPS id B639D290D8 for ; Tue, 6 Jul 2021 23:45:36 -0400 (EDT) Received: by mail-oi1-x22a.google.com with SMTP id w74so1843148oiw.8 for ; Tue, 06 Jul 2021 20:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SG2Ny1TdpsiOeyS1iNEbtEuDsN5J01VAHeDGbUFbkN8=; b=W670Qv2RtAH6h92xIfs/PcQksL68Q2V07VBGMspeahqcs2EygWSxqKSui2F8GH7px0 GagaHczVlzKk4tkVmW+Yco+py8jAf5ipKDN5+y7RigUMKD7sA1/qM4H0p53KW5cQ6pbx GAr8x0bkF920yn1LfAjgS1vHa/BonM0uBYzx3rQ5sq+zo9bkS6K1l/spMzXN5tuAniB2 w+AtbglVV6LX10NMOyUaBig7xO6t+0Xg+TPuMc3CIKNR7rxVITltrQX+cCSSsPAZzo9H jZsT3D8Kbf/K3DT5q+a0xfOqjo1LQHYtj8NWzJFoeWnoBY4ooe9CoE8IwOaUTdr6rNcN +kOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SG2Ny1TdpsiOeyS1iNEbtEuDsN5J01VAHeDGbUFbkN8=; b=dwaaRYOxadCpAQLgv1OqU/Hh4rEAHq8USle9KCETiyfW6IrzQ37DY7KtH33n/pTQJO RgXHbZo+n0HVThAxmFqGaKMmuTmMhxSsJebg6iscqFZUGTUOahPbkWL06PpWPex5MeFf wNLhrSzpUn+cXBFXFqqeA9UzgD7I6kz8kb1jDxWJPnExtX9o/xUDUYih2lEgDs7m1ota QpMw40l2vW7RnAtOABZjjyaV1D++nthAH57ul4CBdmGLPCWHoN4ndKGwYHJaPda1soJm RSlGniue+eP5GskBnOIzUBGlmZBWEmFeszl4NHxAMrp2f85Ef9I1HT2lG1Ghn4yFyGr7 VxLA== X-Gm-Message-State: AOAM532xPVFbmNrD+bHwzD9Zm+dzqBVOtpQyVptrz8qxfsCq5bfjhbRV 1ggSGd4VLWJW05vevz3C7rQLvWGx8o0= X-Google-Smtp-Source: ABdhPJw/GlQ93KKpRpAsLStgtpq21Rz5e0VF00KcWJkNBBPbptrK/vGkfSOfR4wYhNkKR6qrM+FhpQ== X-Received: by 2002:a05:6808:916:: with SMTP id w22mr1605802oih.97.1625629535554; Tue, 06 Jul 2021 20:45:35 -0700 (PDT) Received: from localhost (fixed-187-189-163-231.totalplay.net. [187.189.163.231]) by smtp.gmail.com with ESMTPSA id v8sm3754708oth.69.2021.07.06.20.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 20:45:35 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Cc: David Bremner , Felipe Contreras Subject: [PATCH 0/2] ruby: sync database close/destroy Date: Tue, 6 Jul 2021 22:45:31 -0500 Message-Id: <20210707034533.3137309-1-felipe.contreras@gmail.com> X-Mailer: git-send-email 2.32.0.36.g70aac2b1aa MIME-Version: 1.0 Message-ID-Hash: 6ARGA2452AX5NU7DQRFRQIDKUXWPPDBV X-Message-ID-Hash: 6ARGA2452AX5NU7DQRFRQIDKUXWPPDBV X-MailFrom: felipe.contreras@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625629543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qgTRI6ACx+j0adv8njSLiyJdfNSn49tBHRGPrGly6rU=; b=udc6Q6UizrKaJ7mlQpVXcJQzwBIz8UDGUBWbON25bjznB2LRRYkIosK2jPunGIwHwFsSFr uF7SjrLFQ9NxYGtlAGXAxaaAfA231vm4z6CBbPm10VNL292gwqZrX+Q/oKMIN1/FTkTj4h xn/YYYPKMceCjh57lTCXXHNsooux9p8wEq484eaxRCnWtVDjsTJKsfSZOBKpUSopfi/ozR LosbED/V2gOMgB/AUQhoEhEzJ04I6ljTdRi1qhvCaXMRn1+n7hwcoUCKARp2uTcvrK2TOR uag/YD9skbOFgcLjPBAhxageFWeoNAikabRvuVLvKoRDi3eVsHGXYnugYRSPxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625629543; a=rsa-sha256; cv=none; b=qZkbdmNiiGpOHsKrcVQ+/yjX5jKUv7zsOjPNYPkdZMEtsX6c23GwvQSklNpd9ZEQUAXp/0 c9+mVKeCKxzPM9cQf+o1wkTqexeM+t8c+DNTJ6+Zr73wmvn41AWKBcidF/bsVBnGhfYkkE aS1aaAjEdHu0UpnOysydZy4xvZ8AYqQlCxncV78MDCX+CGW+BLkcJs7+ISRIX+PI+/8BnK zw7EywZcoKkSK9h54+Aix9wGOzxuT+g5+F5GKyVDmXzEuqnc0mEhbuJqyIRqBfodU2WSZJ SL4G7kmTiWvmYtdxetUeCooI9peKvFvMfIuB8bSgKWOspGHO37nkswL9hUEaKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=W670Qv2R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=W670Qv2R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: C62EDD466 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: HcHOYOAMPW+8 Sychronize with notmuch API, where notmuch_database_close is different from notmuch_database_destroy. At least since a long time ago. Felipe Contreras (2): ruby: split database close and destroy ruby: cleanup object_destroy() bindings/ruby/database.c | 19 ++++++++++++++++++- bindings/ruby/defs.h | 10 +++++----- bindings/ruby/init.c | 1 + 3 files changed, 24 insertions(+), 6 deletions(-) -- 2.32.0.36.g70aac2b1aa