mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 01:00:43 +00:00
Fix retain cycle for the textRoot property.
This commit is contained in:
@@ -96,7 +96,7 @@ static double RNSVGTSpan_radToDeg = 180 / M_PI;
|
||||
// Create a dictionary for this font
|
||||
CTFontRef fontRef = [self getFontFromContext];
|
||||
CGMutablePathRef path = CGPathCreateMutable();
|
||||
RNSVGGlyphContext* gc = [[self getTextRoot] getGlyphContext];
|
||||
RNSVGGlyphContext* gc = [self.textRoot getGlyphContext];
|
||||
RNSVGFontData* font = [gc getFont];
|
||||
NSUInteger n = str.length;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user