From 948d073dec655a107af180e3719a312fea393222 Mon Sep 17 00:00:00 2001 From: dw-8 Date: Sun, 25 Jul 2021 01:11:42 -0400 Subject: [PATCH] Revert "Fixed OutOfMemory error if initializing fails (#10924)" This reverts commit cbc1eff5b94938ef7e336fad87f845b1fad42e83. Signed-off-by: dw-8 --- .../org/openhab/binding/gardena/internal/GardenaSmartImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmartImpl.java b/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmartImpl.java index 0624f74e06b01..cc6d38e78dc92 100644 --- a/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmartImpl.java +++ b/bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmartImpl.java @@ -133,7 +133,6 @@ public GardenaSmartImpl(String id, GardenaConfig config, GardenaSmartEventListen startWebsockets(); initialized = true; } catch (Exception ex) { - dispose(); throw new GardenaException(ex.getMessage(), ex); } }