public override void Stop()
		{
			base.Stop();

			_timer.Stop();
			_timer.Dispose();
			_timer = null;
		}
Beispiel #2
0
        private void SamplesFormClosing(object sender, CancelEventArgs e)
        {
            // Gotta stop our logging thread
            _timer.Stop();

            if (StorageScp.Started)
            {
                StorageScp.StopListening(int.Parse(_textBoxStorageScpPort.Text));
            }
        }