void InternalRun() { wrapperThread = this; try { Runnable.Run(); } catch (Exception exception) { System.Diagnostics.Debug.WriteLine(exception); } finally { tgroup.Remove(this); } }
private void InternalRun() { wrapperThread = this; try { runnable.Run(); } catch (Exception exception) { Console.WriteLine(exception); } finally { tgroup.Remove(this); } }
public virtual void Run() { wrapperThread = this; try { runnable.Run(); } catch (Exception exception) { Console.WriteLine(exception); } finally { tgroup.Remove(this); } }