private void stopt() { if (t != null) { t.Stop(); } t = null; if (tnet != null) { tnet.Stop(); } tnet = null; }
protected override void OnStart(string[] args) { stopt(); t = new TThread(); tnet = new TNetThread(); }
private void stopt() { if (t != null) { t.Stop(); } t = null; if (tnet != null) { tnet.Stop(); } tnet = null; }
protected override void OnStart(string[] args) { stopt(); t = new TThread(); tnet = new TNetThread(); }