mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[robonect] Fix breaking common HttpClient on shutdown (#9429)
Signed-off-by: Stefan Triller <github@stefantriller.de>
This commit is contained in:
parent
4409cf63c9
commit
7e5f43527b
@ -379,14 +379,8 @@ public class RobonectHandler extends BaseThingHandler {
|
||||
pollingJob.cancel(true);
|
||||
pollingJob = null;
|
||||
}
|
||||
try {
|
||||
if (httpClient != null) {
|
||||
httpClient.stop();
|
||||
httpClient = null;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.debug("Could not stop http client", e);
|
||||
}
|
||||
|
||||
httpClient = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user