From 7b21d7270d9d80e86b8ced120220eecb42a6ba94 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 11 Mar 2015 00:31:11 -0400 Subject: [PATCH] code review --- src/js/assets.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/js/assets.js b/src/js/assets.js index 746656995..51923c9d4 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -1315,10 +1315,7 @@ exports.force = function() { return; } - if ( updateDaemonTimer !== null ) { - clearTimeout(updateDaemonTimer); - } - + suspendUpdateDaemon(); reset(); if ( typeof onStartListener === 'function' ) {