[Tarantool-patches] [PATCH v2 2/4] raft: add explicit raft argument to all functions

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Nov 11 01:05:12 MSK 2020


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);


More information about the Tarantool-patches mailing list