RoonLabs / node-roon-api-volume-control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Destroy does not release the device in the extension

maru-sama opened this issue · comments

delete(this._objs[o.control_key]);

When destroy is called the local callback is not removed correctly. The key used here should be

delete(this._objs[o.state.control_key]);

Issue #3 is related to this as well.

I believe this to be fixed in commit 73ce294

I can confirm that this change fixes the issue.