Skip to content

Commit

Permalink
Fix issue with State rollbacks in debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbrooks12 committed Mar 25, 2022
1 parent 3a858a0 commit 63ad2ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.13.1 - 2022-03-25

- [BUG FIX] Fix regression in debugger, where you could not view or rollback to previous States.

## 0.13.0 - 2022-03-24

- [BREAKING CHANGE] Renames `ballast-crashlytics` module to `ballast-firebase-crashlytics`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ public fun <Inputs : Any, Events : Any, State : Any, T : Any> BallastNotificatio
}

is BallastNotification.StateChanged -> {
addValueToCache("State")
// since states are always emitted only once and do not have status changed over time, we compute the
// value directly and never cache it
computeValueForSubject(this.state)
}

is BallastNotification.EventProcessingStarted -> {
Expand Down

0 comments on commit 63ad2ea

Please sign in to comment.