Hi,

 

by accident I had the “enable debugging” checkbox ticked for my RELEASE
configuration. 

I changed that and was very happy that the IPA size dropped from 9MB to 5MB.

But my app wouldn’t start anymore!

The reason turned out to be:

 

GC.Collect(GC.MaxGeneration);

GC.WaitForPendingFinalizers();

 

The release build gets stuck in the WaitForPendingFinalizers() while this is
working like charm in the debug build.

I replaced the two now with GC.Collect().

 

Can somebody please explain what’s going on?

 

MT is 5.2.11, LLVM, SGen on, iPad 2 (does not happen on Simulator).

 

René

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to