fixing valgrind issues, injecting garbage collector inside vulkan's funtions

This commit is contained in:
2024-12-13 02:51:52 +01:00
parent 34ea0822a7
commit f78c3e9f0f
8 changed files with 165 additions and 160 deletions

View File

@@ -24,6 +24,8 @@ namespace mlx
void FontRegistry::Reset()
{
for(auto& font: m_fonts_registry)
font->Destroy();
m_fonts_registry.clear();
}
}