diff --git a/src/createStore.js b/src/createStore.js index c5ce5c0c01..efb89310fd 100644 --- a/src/createStore.js +++ b/src/createStore.js @@ -152,6 +152,7 @@ export default function createStore(reducer, preloadedState, enhancer) { ensureCanMutateNextListeners() const index = nextListeners.indexOf(listener) nextListeners.splice(index, 1) + currentListeners = null } }