Parcourir la source

* ICU v3.8 on Android 1.5-2.1 is buggy and can't be unloaded properly.

git-svn-id: trunk@40199 -
yury il y a 6 ans
Parent
commit
d27c16f024
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      rtl/android/cwstring.pp

+ 3 - 0
rtl/android/cwstring.pp

@@ -488,6 +488,9 @@ begin
   if LastConv <> nil then
     ucnv_close(LastConv);
 
+  if LibVer = '_3_8' then
+    exit;  // ICU v3.8 on Android 1.5-2.1 is buggy and can't be unloaded properly
+
   if hlibICU <> 0 then begin
     UnloadLibrary(hlibICU);
     hlibICU:=0;