From 743cdd0bea56a86e9da40b38684a3c66f0ad9520 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 16 Oct 2020 13:26:19 +0200 Subject: [PATCH] safari is tooo fast and skips it when it shouldn't also, I've never had the registration fail, seems very unlikely --- src/ui/web/dom/ServiceWorkerHandler.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/web/dom/ServiceWorkerHandler.js b/src/ui/web/dom/ServiceWorkerHandler.js index e76f202c..0c50c0f8 100644 --- a/src/ui/web/dom/ServiceWorkerHandler.js +++ b/src/ui/web/dom/ServiceWorkerHandler.js @@ -141,10 +141,6 @@ export class ServiceWorkerHandler { } async preventConcurrentSessionAccess(sessionId) { - // don't block if we didn't manage to install service worker - if (!this._registration) { - return Promise.resolve(); - } return this._sendAndWaitForReply("closeSession", {sessionId}); } }