From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E2D5A469719 for ; Wed, 11 Nov 2020 01:05:14 +0300 (MSK) From: Vladislav Shpilevoy References: Message-ID: <4527c997-3c73-70dc-456d-11401c1377e6@tarantool.org> Date: Tue, 10 Nov 2020 23:05:12 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 2/4] raft: add explicit raft argument to all functions List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, gorcunov@gmail.com, sergepetrenko@tarantool.org I added this: ==================== @@ -1091,6 +1091,7 @@ raft_create(struct raft *raft) void raft_destroy(struct raft *raft) { + ev_timer_stop(loop(), &raft->timer); trigger_destroy(&raft->on_update); if (raft->worker != NULL) { raft_worker_wakeup(raft);