dwrite: Release FreeType resources on dll unload.
This commit is contained in:
parent
54b5660378
commit
102d8936cc
|
@ -48,6 +48,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
if (reserved) break;
|
if (reserved) break;
|
||||||
release_shared_factory(shared_factory);
|
release_shared_factory(shared_factory);
|
||||||
|
release_freetype();
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue