@@ -87,7 +87,9 @@ void FontProvider::Shutdown()
ft_library = NULL;
}
+ FontDatabase::RemoveFontProvider(instance);
delete instance;
+ instance = NULL;