Skip to content

Commit

Permalink
Update DefaultCombineStore.swift
Browse files Browse the repository at this point in the history
add optional self check to avoid retain cycle
  • Loading branch information
singh88 authored Dec 30, 2023
1 parent ef3fd1d commit 2d39746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ReduxStore/DefaultCombineStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public final class DefaultCombineStore<R: Reducer, RS: ReduxState,

func printAllNextEvents() {
_nextAction.forEach {
logEvents("currently \($0) is in queue")
self?.logEvents("currently \($0) is in queue")
}
}

Expand Down

0 comments on commit 2d39746

Please sign in to comment.