mac log: get rid of 'just leaking' messages

This commit is contained in:
Hylke Bons 2011-05-29 13:14:33 +01:00
parent dc162d45f8
commit 9ad2335c99

View file

@ -133,13 +133,16 @@ namespace SparkleShare {
public void UpdateEventLog () public void UpdateEventLog ()
{ {
InvokeOnMainThread (delegate { InvokeOnMainThread (delegate {
if (HTML == null) if (HTML == null)
ContentView.AddSubview (ProgressIndicator); ContentView.AddSubview (ProgressIndicator);
}); });
Thread thread = new Thread (new ThreadStart (delegate { Thread thread = new Thread (new ThreadStart (delegate {
using (NSAutoreleasePool pool = new NSAutoreleasePool ()) {
GenerateHTML (); GenerateHTML ();
AddHTML (); AddHTML ();
}
})); }));
thread.Start (); thread.Start ();
@ -174,6 +177,7 @@ namespace SparkleShare {
ContentView.AddSubview (WebView); ContentView.AddSubview (WebView);
Update (); Update ();
}); });
} }
} }