Browse Source

ReduxDevTools: devToolsUnsubscribe in uninstall

Artur Paikin 7 years ago
parent
commit
2392b1c7c0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/plugins/ReduxDevTools.js

+ 1 - 0
src/plugins/ReduxDevTools.js

@@ -63,6 +63,7 @@ module.exports = class ReduxDevTools extends Plugin {
 
   uninstall () {
     if (this.withDevTools) {
+      this.devToolsUnsubscribe()
       this.core.emitter.off('core:state-update', this.handleStateUpdate)
     }
   }