openhab-addons/bundles/org.openhab.binding.gardena/src
maniac103 49e407d028
[gardena] Improve GardenaSmartImpl initialization order (#14722)
If an exception occurs during httpClient.start(), webSocketClient
remained null, which led to another (then unhandled) exception being thrown
by dispose(), called in the exception handler.
With the new initialization order it's ensured webSocketClient is not
null at dispose() time, thus allowing proper propagation of the
exception thrown at HTTP startup.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-04-07 14:25:20 +02:00
..
main [gardena] Improve GardenaSmartImpl initialization order (#14722) 2023-04-07 14:25:20 +02:00
test Update license headers to 2023 (#14154) 2023-01-06 09:49:54 +01:00