Fixed null http handler issue for close

This commit is contained in:
Admin
2017-03-02 16:36:56 -06:00
parent c7cf48bb6b
commit 4de14217b4
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<groupId>com.bwssystems.HABridge</groupId>
<artifactId>ha-bridge</artifactId>
<version>4.2.0</version>
<version>4.2.0a</version>
<packaging>jar</packaging>
<name>HA Bridge</name>

View File

@@ -161,6 +161,7 @@ public class DomoticzHome implements Home {
}
@Override
public void closeHome() {
if(httpClient != null)
httpClient.closeHandler();
}