protected override void OnStop() { if (Settings.ListenDiscover) { _server.Dispose(); } if (Settings.ListenProxy) { _proxy.Dispose(); } }
protected override void OnStop() { if (Settings.ListenDiscover) { _server.Dispose(); } if (Settings.ListenProxy) { _proxy.Dispose(); } _timer.Enabled = false; }