Commit 7042b85b authored by yann300's avatar yann300

fix event unregistration

parent 6bdda2a3
...@@ -27,7 +27,7 @@ class PluginManagerProxy { ...@@ -27,7 +27,7 @@ class PluginManagerProxy {
unregister (name, instance) { unregister (name, instance) {
if (this._listeners[name]) { if (this._listeners[name]) {
instance.events.off('compilationFinished', this._listeners[name]) instance.events.removeListener('compilationFinished', this._listeners[name])
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment