Skip to content

Commit

Permalink
openhab#14 Call super.dispose last in BoschSHCBridgeHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Oeing <[email protected]>
Signed-off-by: Gerd Zanker <[email protected]>
  • Loading branch information
coeing authored and GerdZanker committed Jan 7, 2021
1 parent 2b6f590 commit 34fc36a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ public void initialize() {

@Override
public void dispose() {
super.dispose();

// Cancel scheduled pairing.
ScheduledFuture<?> scheduledPairing = this.scheduledPairing;
if (scheduledPairing != null) {
Expand All @@ -143,6 +141,8 @@ public void dispose() {
}
this.httpClient = null;
}

super.dispose();
}

@Override
Expand Down

0 comments on commit 34fc36a

Please sign in to comment.