[mono-android] GC.Collect() hangs on LG GT540
PVoLan
pvolan at mail.ru
Wed Feb 29 07:25:35 UTC 2012
Calling GC.Collect hangs on LG GT-540 with Android 2.1. Works properly on
other devices I have.
Model number: LG GT-540
http://www.lg.com/uk/mobile-phones/all-lg-phones/LG-android-mobile-phone-GT540.jsp
Firmware version: 2.1-update1
Kernel version: 2.6.29
Software version: GT540-V20b-SEP-13-2010
Code example:
[Activity (Label = "TestGCCollect", MainLauncher = true)]
public class Activity1 : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
Android.Util.Log.Info("----","Here is all ok");
GC.Collect(); //hangs here
Android.Util.Log.Info("----","Can't reach this line");
}
}
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/GC-Collect-hangs-on-LG-GT540-tp5524251p5524251.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list