/// <summary> /// 停止工作 /// </summary> protected override void StopWork(String reason) { base.StopWork(reason); _timer.TryDispose(); Svr.TryDispose(); }
/// <summary>停止工作</summary> protected override void StopWork(String reason) { Svr.TryDispose(); Svr = null; base.StopWork(reason); }