Exemple #1
0
 // A simple blocking way to make sure this is all torn down.
 public void Shutdown()
 {
     if (_rgws != null)
     {
         _rgws.Shutdown();
         _rgws.Dispose();
         _rgws = null;
     }
     _logger("UWS shutdown.", 1);
     _status = Status.ReadyToConnect;
 }
Exemple #2
0
 // Forcibly disposes the RGWS
 public void Dispose()
 {
     _rgws?.Dispose();
     _rgws = null;
 }