Skip to content

Commit 073e699

Browse files
authored
fix memory leak (#492)
1 parent d68e896 commit 073e699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Verge/Library/StoreStateSubscription.swift

+1
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,6 @@ public final class StoreStateSubscription: Hashable, Cancellable, @unchecked Sen
167167

168168
deinit {
169169
cancel()
170+
_ = source.dispose()
170171
}
171172
}

0 commit comments

Comments
 (0)