fix: currentColor overflow (#2570)

# Summary  

This is a blind fix for issue #2566 that resets the caller on
`prepareForRecycle`. While it should help address the overflow happening
in some cases, I cannot guarantee that it will fully resolve the issue
due to the lack of a reproducible scenario.

## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| iOS     |          |
| MacOS   |          |
This commit is contained in:
Jakub Grzywacz
2024-12-10 11:15:27 +01:00
committed by GitHub
parent de6b4d0d17
commit 856142eb25

View File

@@ -241,6 +241,7 @@ static RNSVGRenderable *_contextElement;
_vectorEffect = kRNSVGVectorEffectDefault; _vectorEffect = kRNSVGVectorEffectDefault;
_propList = nil; _propList = nil;
_filter = nil; _filter = nil;
_caller = nil;
} }
#endif // RCT_NEW_ARCH_ENABLED #endif // RCT_NEW_ARCH_ENABLED