Selaa lähdekoodia

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

git-svn-id: trunk@40199 -
yury 6 vuotta sitten
vanhempi
commit
d27c16f024
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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;