From d64e48027516fda420f1f4c5696d35ebaf810866 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sat, 28 Jul 2018 14:37:18 +0200 Subject: [PATCH] Fixed random stallings on page transitions. --- src/bg/RequestUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bg/RequestUtil.js b/src/bg/RequestUtil.js index a5af09e..d6d3300 100644 --- a/src/bg/RequestUtil.js +++ b/src/bg/RequestUtil.js @@ -130,7 +130,7 @@ debug(`Marking as "must reload"`, tabId, url); reloadingTabs.set(tabKey(tabId, url), true); } - if (buffer && buffer.length) { + if (buffer) { debug("Flushing %s buffer chunks on %s", buffer.length, url); for (let chunk of buffer) { filter.write(chunk);