Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not terminate current atom state when an old snapshot is restored #30

Merged
merged 1 commit into from Sep 4, 2022

Conversation

ra1028
Copy link
Owner

@ra1028 ra1028 commented Sep 4, 2022

Pull Request Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Chore

Description

Stop terminating the current atom state when old values are restored via snapshot.

Motivation and Context

Terminating a state could cause weird behavior, such as ObservableObject doesn't emits update anymore.
Still it's not an ideal solution but we'd like to stop terminating them for now.

@ra1028 ra1028 merged commit 4fb1b34 into main Sep 4, 2022
@ra1028 ra1028 deleted the fix/do-not-terminate-when-restore branch September 4, 2022 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant