DF-5549 Fixed: Invalid order of free up resources in FontManager