From 68623a43f9ca76888135b4150a413a9bda874b02 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 19:31:50 +0000 Subject: [PATCH] fix: remove unused destroy() from ForwardKind0ToLocalRelayState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EventCollector lives for the lifetime of Account, matching the same pattern used by CacheClientConnector — no explicit teardown needed. https://claude.ai/code/session_01Er9VV7nHyDb5pihrunb81F --- .../model/localRelays/ForwardKind0ToLocalRelayState.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/localRelays/ForwardKind0ToLocalRelayState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/localRelays/ForwardKind0ToLocalRelayState.kt index b8b5517d3..3fc1e0bdf 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/localRelays/ForwardKind0ToLocalRelayState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/localRelays/ForwardKind0ToLocalRelayState.kt @@ -39,8 +39,4 @@ class ForwardKind0ToLocalRelayState( } } } - - fun destroy() { - eventCollector.destroy() - } }