Example #1
0
 protected override void Stop()
 {
     base.Stop();
     _listener?.StopListening();
     _listener?.Dispose();
     _listener = null;
 }
 public override void Dispose()
 {
     base.Dispose();
     _listener?.StopListening();
     _listener?.Dispose();
     _listener = null;
 }