fixing segfault at exit

This commit is contained in:
Kbz-8
2024-10-27 21:18:22 +01:00
parent 1721632a75
commit 77240013a4
4 changed files with 9 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ namespace mlx
inline void RegisterFont(std::shared_ptr<Font> font);
inline void UnregisterFont(std::shared_ptr<Font> font);
inline std::shared_ptr<Font> GetFont(const std::filesystem::path& name, float scale);
inline void Reset();
~FontRegistry() = default;