mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
fix JNI_OnUnload definition
(cherry picked from the commit3571e39071) (cherry picked from commit1019d8f0f2)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
99234f8c64
commit
2b9aa56366
@@ -1984,7 +1984,8 @@ Java_sun_font_FreetypeFontScaler_getGlyphPointNative(
|
||||
sunFontIDs.pt2DFloatCtr, x, y);
|
||||
}
|
||||
|
||||
void JNI_OnUnload(JavaVM *vm, void *reserved) {
|
||||
JNIEXPORT void JNICALL
|
||||
JNI_OnUnload(JavaVM *vm, void *reserved) {
|
||||
if (libFontConfig != NULL) {
|
||||
#ifndef _WIN32
|
||||
dlclose(libFontConfig);
|
||||
|
||||
Reference in New Issue
Block a user