Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

wagoodman
Copy link
Contributor

Before this fix the first UI update iteration would store a reference to a frame.Frame and subsequent iterations would store copies -- so type assertions after the first iteration would fail. When working with bubbletea the models passed during execution should always be copies and not references to ensure that an instances state is updated within the proper point in the UI lifecycle (during Update()) and nowhere else.

Fixes #529

@wagoodman wagoodman enabled auto-merge (squash) February 10, 2025 16:53
@wagoodman wagoodman merged commit 026e6f9 into main Feb 10, 2025
7 checks passed
@wagoodman wagoodman deleted the fix-ui-panic branch February 10, 2025 16:55
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.

Seeing a panic on sign-and-notarize

2 participants