From 601d5fb1a9e92ba8b23237e0b9dd05a3359674c9 Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Wed, 14 Dec 2016 18:55:19 +0100 Subject: [PATCH] removed Q.cancel() --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index e2fdf782e..302a1662e 100644 --- a/main.js +++ b/main.js @@ -407,7 +407,7 @@ onReady = () => { }); } - return Q.cancel(); + return; }) .then(function doSync() { // we're going to do the sync - so show splash @@ -416,10 +416,10 @@ onReady = () => { } if (Settings.inAutoTestMode) { - return Q.cancel(); + return syncResultPromise; } - return syncResultPromise; + return; }) .then(function allDone() { startMainWindow();