Skip to content

Commit

Permalink
Update to fix memory leaking during initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgriebling committed Sep 11, 2023
1 parent cbbce7c commit c15d09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftMath/MathRender/MTFontMathTable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c15d09e

Please sign in to comment.