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 ()
|
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 ();
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue