You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses several correctness issues from the experimental runtime
review.
- **Android**: cancel auto-bind `CoroutineScope` on dispose; adds
`disposed` guard inside the Main-thread hop to prevent post-teardown
binding against a stale/reconfigured handle
- **iOS**: reuse existing `RiveUIView` on reconfigure by assigning
`riveUIView.rive = rive` instead of tearing down and recreating the view
— eliminates orphaned MTKView draw calls on file switch
- **iOS**: queue `bindViewModelInstance` calls that arrive before
`configTask` completes, then apply them once `riveInstance` is set —
previously the bind was silently dropped
Includes harness tests for the iOS fixes:
- `reconfigure.harness.tsx` — verifies animation still plays after
switching file prop and back
- `bind-before-ready.harness.tsx` — reproduces and verifies the
bind-before-ready race (failed before fix, passes after)
0 commit comments