Skip to content

Commit

Permalink
Fixed a retain cycle that could prevent a DiskPersistence from deinit…
Browse files Browse the repository at this point in the history
…ializing when no longer used
  • Loading branch information
dimitribouniol committed Jul 29, 2024
1 parent 9777634 commit 679839a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Bytes

extension DiskPersistence {
actor Transaction: AnyDiskTransaction {
let persistence: DiskPersistence
unowned let persistence: DiskPersistence

unowned let parent: Transaction?
var childTransactions: [Transaction] = []
Expand Down

0 comments on commit 679839a

Please sign in to comment.