Skip to content

Commit

Permalink
Merge pull request #12 from vhd1/issue9-update-method
Browse files Browse the repository at this point in the history
fixing onDisconnect method
  • Loading branch information
vhd1 authored Feb 14, 2024
2 parents 308f81f + 22e0500 commit 2af4886
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public void onChange(Raw<?> data) {

@Override
public void onDisconnect(Aggregator<?, ?> aggregator) {
sensorDataSet.remove(aggregator);
observer.onChange(new SensorDataSet(sensorDataSet));
}

Expand Down

0 comments on commit 2af4886

Please sign in to comment.