fix event unregistration

pull/3094/head
yann300 6 years ago
parent 43fd090537
commit d85fee6ee7
  1. 2
      src/app/components/plugin-manager-proxy.js

@ -27,7 +27,7 @@ class PluginManagerProxy {
unregister (name, instance) {
if (this._listeners[name]) {
instance.events.off('compilationFinished', this._listeners[name])
instance.events.removeListener('compilationFinished', this._listeners[name])
}
}

Loading…
Cancel
Save