safari is tooo fast and skips it when it shouldn't
also, I've never had the registration fail, seems very unlikely
This commit is contained in:
parent
c125335ef0
commit
743cdd0bea
1 changed files with 0 additions and 4 deletions
|
@ -141,10 +141,6 @@ export class ServiceWorkerHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
async preventConcurrentSessionAccess(sessionId) {
|
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});
|
return this._sendAndWaitForReply("closeSession", {sessionId});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue