Repository navigation
fix(Animations): Fix issue with multiple animators holding the same handle to their JS counterparts - #5105
Conversation
…andle to their JS counterparts
aba71ca to
ee4efaa
Compare
|
The build 24289 found UI Test snapshots differences: Details
|
|
The build 24289 found UI Test snapshots differences: Details
|
|
The build 24289 found UI Test snapshots differences: Details
|
| public long CreateNativeInstance(IntPtr managedHandle) | ||
| { | ||
| var id = Interlocked.Increment(ref _handles); | ||
| var id = RenderingLoopAnimatorMetadataIdProvider.Next(); |
There was a problem hiding this comment.
oh... that's diabolical, good find!

closes #3736
closes #5038
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Error #1 "TypeError: Cannot read property 'DisableFrameReporting' of undefinedSometimes animations on WASM are not stopped properly
We used to get some annoying messages in the log, now we have to put a breakpoint in the onFrame
What is the new behavior?
No error. Animations fully stop on the JS side
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.