mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
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
@ -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});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user