From 9433deab83db3b076a2aa3e9618a8eefba06c584 Mon Sep 17 00:00:00 2001 From: Absurdon Date: Wed, 1 Mar 2017 15:23:00 +0100 Subject: [PATCH] Fixed wrong function used to reset election timeout --- lib/gather/gather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gather/gather.js b/lib/gather/gather.js index 72420b8..42d44a9 100644 --- a/lib/gather/gather.js +++ b/lib/gather/gather.js @@ -384,7 +384,7 @@ Gather.prototype.startElectionCountdown = function () { }; Gather.prototype.cancelElectionCountdown = function () { - clearInterval(this.election.timer); + clearTimeout(this.election.timer); this.election.timer = null; this.election.startTime = null; };