diff --git a/src/App.js b/src/App.js index 437037235..58884a82d 100644 --- a/src/App.js +++ b/src/App.js @@ -9,6 +9,8 @@ import configureLogger from './configureLogger'; import configureStore from './configureStore'; import gatherActions from './gatherActions'; import { destroyStore } from './mainActions'; +import { unregisterServiceWorker } from './serviceWorkerRegistration'; + import Root from './components/Root'; @@ -30,6 +32,10 @@ export default class StripesCore extends Component { this.epics = configureEpics(connectErrorEpic); this.store = configureStore(initialState, this.logger, this.epics); this.actionNames = gatherActions(); + + // unregister any zombie service workers left over from RTR work + // prior to disabling RTR in PR #1371 + unregisterServiceWorker(); } componentWillUnmount() {