Skip to content

Commit

Permalink
Update bundles/org.openhab.binding.broadlink/src/main/java/org/openha…
Browse files Browse the repository at this point in the history
…b/binding/broadlink/internal/handler/BroadlinkRemoteHandler.java

Co-authored-by: lsiepel <[email protected]>
Signed-off-by: Anton Jansen <[email protected]>
  • Loading branch information
AntonJansen and lsiepel authored Sep 19, 2024
1 parent da01a8c commit 03e520c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ public void initialize() {

@Override
public void dispose() {
if (this.mappingService != null) {
this.mappingService.dispose();
BroadlinkMappingService mappingService = this.mappingService;
if (mappingService != null) {
mappingService.dispose();
this.mappingSerivce = null;
}
super.dispose();
}
Expand Down

0 comments on commit 03e520c

Please sign in to comment.