From 073e699c3fddbc480a83df2d02dbc94296582ae2 Mon Sep 17 00:00:00 2001 From: Hiroshi Kimura Date: Thu, 12 Sep 2024 16:21:38 +0900 Subject: [PATCH] fix memory leak (#492) --- Sources/Verge/Library/StoreStateSubscription.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Verge/Library/StoreStateSubscription.swift b/Sources/Verge/Library/StoreStateSubscription.swift index d62afd605f..d32d5a64ab 100644 --- a/Sources/Verge/Library/StoreStateSubscription.swift +++ b/Sources/Verge/Library/StoreStateSubscription.swift @@ -167,5 +167,6 @@ public final class StoreStateSubscription: Hashable, Cancellable, @unchecked Sen deinit { cancel() + _ = source.dispose() } }