mac log: get rid of 'just leaking' messages
This commit is contained in:
parent
dc162d45f8
commit
9ad2335c99
|
@ -133,13 +133,16 @@ namespace SparkleShare {
|
|||
public void UpdateEventLog ()
|
||||
{
|
||||
InvokeOnMainThread (delegate {
|
||||
|
||||
if (HTML == null)
|
||||
ContentView.AddSubview (ProgressIndicator);
|
||||
});
|
||||
|
||||
Thread thread = new Thread (new ThreadStart (delegate {
|
||||
using (NSAutoreleasePool pool = new NSAutoreleasePool ()) {
|
||||
GenerateHTML ();
|
||||
AddHTML ();
|
||||
}
|
||||
}));
|
||||
|
||||
thread.Start ();
|
||||
|
@ -174,6 +177,7 @@ namespace SparkleShare {
|
|||
|
||||
ContentView.AddSubview (WebView);
|
||||
Update ();
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue