fix bug in dweetio datasource plugin
when dweetio datasource's settings changed, it should only stop the listener for its own thing, instead of all listeners. the old codes will cause issue when there are 1+ dweetio datasourcespull/172/head
parent
4153458355
commit
e8461e8f3d
|
@ -305,7 +305,7 @@
|
|||
}
|
||||
|
||||
this.onSettingsChanged = function (newSettings) {
|
||||
dweetio.stop_listening();
|
||||
dweetio.stop_listening_for(currentSettings.thing_id);
|
||||
|
||||
currentSettings = newSettings;
|
||||
|
||||
|
|
Loading…
Reference in New Issue