Skip to content

Commit

Permalink
fix memory leak (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii authored Sep 12, 2024
1 parent d68e896 commit 073e699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Verge/Library/StoreStateSubscription.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,6 @@ public final class StoreStateSubscription: Hashable, Cancellable, @unchecked Sen

deinit {
cancel()
_ = source.dispose()
}
}

0 comments on commit 073e699

Please sign in to comment.