vue-feathers
vue-feathers copied to clipboard
Does not remove listeners properly
In the current code:
server.service(keys[i]).removeListener(ekeys[k], service[ekeys[k]].bind(this))
The bind(this) will create a new function. removeListener expects a reference to an already bound function. You'll have to store references to the functions added in the created hook in order to remove them properly.