I made one import omission. From MT documentation
/If you create your own threads using System.Threading you do have to
provide you own NSAutoRelease pool to prevent the data from leaking. To do
this, simply wrap your thread in the following piece of code:/
DoWork needs to be wrapped in the following
using (NSAutoreleasePool threadPool = new NSAutoreleasePool ())
{
}
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Threading-best-practice-tp4411605p4412761.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch