Update to fix memory leaking during initialization.

This commit is contained in:
Michael Griebling
2023-09-11 07:30:53 -04:00
parent cbbce7c6b0
commit c15d09e04e

View File

@@ -43,7 +43,7 @@ struct GlyphPart {
class MTFontMathTable {
// The font for this math table.
var font:MTFont? // @property (nonatomic, readonly, weak) MTFont* font;
public private(set) weak var font:MTFont? // @property (nonatomic, readonly, weak) MTFont* font;
var _unitsPerEm: UInt
var _fontSize: CGFloat