fix event unregistration

pull/1/head
yann300 6 years ago
parent 6bdda2a34d
commit 7042b85b0e
  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