public bool Stop() { if (Started) { Started = false; jtHttp.Stop(); channel1078.Close(); return(true); } return(false); }
public bool Stop() { if (Started) { Started = false; channelhttp.Close(); jt1078Client?.Stop(); MyTask.RemoveItem(this.Key); return(true); } return(false); }