- From: Jake Archibald <notifications@github.com>
- Date: Thu, 06 Jun 2019 23:55:01 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 June 2019 06:55:23 UTC
Are there steps you need to run if the service worker is unregistered? If so, I'll add a hook in for that. When a service worker is unregistered, it remains in use by existing pages (not new ones). At what point do you want to deactivate the push subscription? Once the service worker is unregistered, or once all remaining pages using it go away, and the registration becomes completely redundant? If there aren't any steps you need to run, then it should be taken care of automatically. If you push subscription is a child of the service worker registration, then when the registration can no longer be referenced, neither can the push subscription. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1410#issuecomment-499778583
Received on Friday, 7 June 2019 06:55:23 UTC